blob: a2c5235c3742c327bb57b6e67e2cb489bfc61751 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 8aff1e965ec17262f3a5b376f7eb3e053d81905c Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 24 Jul 2018 18:18:05 +0800
4Subject: [PATCH] Add LDFLAGS variable to Makefile, make sure the extra linker
5 flags can be passed.
Patrick Williamsddad1a12017-02-23 20:36:32 -06006
7Upstream-Status: Pending
8
9Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
10
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011Update to version 1.29
12
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14---
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
Patrick Williamsddad1a12017-02-23 20:36:32 -060018diff --git a/Makefile b/Makefile
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019index f29bbae..81beb5a 100644
Patrick Williamsddad1a12017-02-23 20:36:32 -060020--- a/Makefile
21+++ b/Makefile
22@@ -86,7 +86,7 @@ libs:
23 make -C libipvs
24
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025 ipvsadm: $(OBJS) libs
Patrick Williamsddad1a12017-02-23 20:36:32 -060026- $(CC) $(CFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
27+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
28
29 install: all
30 if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031--
322.7.4
33