blob: a74452db6981c5b02cc3739f2340c6e348790909 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
2
3Upstream-Status: Pending
4
5Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
6
7diff --git a/makefile b/makefile
8index 98008da..c328ba7 100644
9--- a/makefile
10+++ b/makefile
11@@ -11,7 +11,7 @@ mandir = ${sharedir}/man
12 O=aoe.o bpf.o ${PLATFORM}.o ata.o
13
14 vblade: $O
15- ${CC} -o vblade $O
16+ ${CC} ${LDFLAGS} -o vblade $O
17
18 aoe.o : aoe.c config.h dat.h fns.h makefile
19 ${CC} ${CFLAGS} -c $<