From 053622b9022f0a91333f58646128fa7c00490c04 Mon Sep 17 00:00:00 2001 From: Chris J Arges Date: Mon, 11 Jan 2016 14:21:38 -0600 Subject: [PATCH] kpatch-build: allow external LDFLAGS When building binaries such as create-diff-object it would be useful to be able to pass LDFLAGS when running make from the command line. --- kpatch-build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch-build/Makefile b/kpatch-build/Makefile index 739aa0e..58d5ede 100644 --- a/kpatch-build/Makefile +++ b/kpatch-build/Makefile @@ -1,7 +1,7 @@ include ../Makefile.inc CFLAGS += -I../kmod/patch -Iinsn -Wall -g -Werror -LDFLAGS = -lelf +LDFLAGS += -lelf TARGETS = create-diff-object OBJS = create-diff-object.o lookup.o insn/insn.o insn/inat.o