[oe-commits] Kai Kang : quagga: fix QA warning
git at git.openembedded.org
git at git.openembedded.org
Sat Apr 26 00:17:17 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: a277f303df123e050a98729415fed6a2590e7f76
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a277f303df123e050a98729415fed6a2590e7f76
Author: Kai Kang <kai.kang at windriver.com>
Date: Mon Apr 21 14:24:51 2014 +0800
quagga: fix QA warning
When build quagga, it shows QA warnings:
WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-bgpd/usr/sbin/bgpd' has relocations in .text
WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-ripngd/usr/sbin/ripngd' has relocations in .text
The configure script tests compiler whether support option '-fPIE'. If
support, it pass option '-fPIE' to compiler then cause these QA
warnings.
Disable configure script to check option '-fPIC'.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Joe MacDonald <joe at deserted.net>
---
meta-networking/recipes-protocols/quagga/quagga.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index 6127205..f043725 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -63,6 +63,7 @@ EXTRA_OECONF = "--sysconfdir=${sysconfdir}/quagga \
--enable-logfile-mask=0640 \
--enable-rtadv \
--enable-linux24-tcp-md5 \
+ ap_cv_cc_pie=no \
${SNMP_CONF}"
do_install () {
More information about the Openembedded-commits
mailing list