mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 20:58:16 +00:00
ipvsadm: 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>
This commit is contained in:
parent
490d792737
commit
1157490a50
@ -0,0 +1,19 @@
|
|||||||
|
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 461c021..8bc9cde 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -86,7 +86,7 @@ libs:
|
||||||
|
make -C libipvs
|
||||||
|
|
||||||
|
ipvsadm: $(OBJS) libs
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
|
||||||
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
|
||||||
|
|
||||||
|
install: all
|
||||||
|
if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi
|
||||||
@ -19,6 +19,7 @@ SRC_URI = "http://www.linuxvirtualserver.org/software/kernel-2.6/${BP}.tar.gz \
|
|||||||
file://0001-Modify-the-Makefile-for-cross-compile.patch \
|
file://0001-Modify-the-Makefile-for-cross-compile.patch \
|
||||||
file://0002-Replace-nl_handle-to-nl_sock.patch \
|
file://0002-Replace-nl_handle-to-nl_sock.patch \
|
||||||
file://0003-ipvsadm-remove-dependency-on-bash.patch \
|
file://0003-ipvsadm-remove-dependency-on-bash.patch \
|
||||||
|
file://makefile-add-ldflags.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "eac3ba3f62cd4dea2da353aeddd353a8"
|
SRC_URI[md5sum] = "eac3ba3f62cd4dea2da353aeddd353a8"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user