mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 16:59:59 +00:00
zeroconf: 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:
@@ -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 77f3364..c98083f 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -18,7 +18,7 @@ clean:
|
||||||
|
|
||||||
|
zeroconf: zeroconf.o delay.o
|
||||||
|
$(Q)echo "Creating $@"
|
||||||
|
- $(Q)$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
+ $(Q)$(CC) $(CFLAGS) ${LDFLAGS} -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
|
|
||||||
|
# Automatic dependency generation
|
||||||
@@ -18,6 +18,7 @@ PR = "r1"
|
|||||||
|
|
||||||
SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${BPN}-${PV}.tar.gz \
|
SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${BPN}-${PV}.tar.gz \
|
||||||
file://compilefix.patch \
|
file://compilefix.patch \
|
||||||
|
file://makefile-add-ldflags.patch \
|
||||||
file://zeroconf-default \
|
file://zeroconf-default \
|
||||||
file://debian-zeroconf"
|
file://debian-zeroconf"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user