blob: 71af47ac732afebfe28e1df6e5b3b9b62aeb2f80 [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
Andrew Geissler72956ed2021-01-08 16:11:14 -060012 O=aoe.o bpf.o ${PLATFORM}.o ata.o dat.o
Patrick Williamsddad1a12017-02-23 20:36:32 -060013
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 $<