Files
Yi Zhao f08e9d4c7c vblade: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent
via this variable.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-11-14 13:01:11 -05:00

20 lines
466 B
Diff

Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
Upstream-Status: Pending
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
diff --git a/makefile b/makefile
index 98008da..c328ba7 100644
--- a/makefile
+++ b/makefile
@@ -11,7 +11,7 @@ mandir = ${sharedir}/man
O=aoe.o bpf.o ${PLATFORM}.o ata.o
vblade: $O
- ${CC} -o vblade $O
+ ${CC} ${LDFLAGS} -o vblade $O
aoe.o : aoe.c config.h dat.h fns.h makefile
${CC} ${CFLAGS} -c $<