summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2014-04-12 10:51:43 -0700
committerPaul Moore <pmoore@redhat.com>2014-04-14 17:03:11 -0400
commit330c51a7c484a592eaab7127157d09a55f87f1a2 (patch)
tree2fefed5c100801b1d704cf1a5d806488ed370af7 /tools
parent6c22d386b07f6cb79ed2f50667361915656c9e07 (diff)
downloadlibseccomp-330c51a7c484a592eaab7127157d09a55f87f1a2.tar.gz
build: fix use of LIBFLAGS vs LDFLAGS
LIBFLAGS are for libraries and LDFLAGS are for linker arguments. Without this change, externally defined LDFLAGS are not correctly imported into the build. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 79c7d25..24dbd78 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -32,7 +32,7 @@ include ../macros.mk
include $(TOPDIR)/configure.mk
include $(TOPDIR)/install.mk
-LDFLAGS := ../src/libseccomp.a
+LIBFLAGS := ../src/libseccomp.a
TOOLS = scmp_bpf_disasm \
scmp_bpf_sim \