1Add 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 dat.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 $<
20