diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2016-11-01 17:23:02 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-11-14 13:01:11 -0500 |
commit | 0a1144767ac1ea3246134b8cb4d619ec9727afd5 (patch) | |
tree | d0b8984ff425c6d528a40cc6e45274876da7d395 /meta-networking/recipes-protocols/zeroconf/zeroconf | |
parent | 0eff2b604d855136d61962501c9819c340e937bf (diff) | |
download | meta-openembedded-contrib-0a1144767ac1ea3246134b8cb4d619ec9727afd5.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-protocols/zeroconf/zeroconf')
-rw-r--r-- | meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch b/meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch new file mode 100644 index 0000000000..c5a4414db8 --- /dev/null +++ b/meta-networking/recipes-protocols/zeroconf/zeroconf/makefile-add-ldflags.patch @@ -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 |