quagga: fix QA warning
authorKai Kang <kai.kang@windriver.com>
Mon, 21 Apr 2014 06:24:51 +0000 (14:24 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:37:24 +0000 (08:37 -0800)
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'.

(From meta-openembedded rev: a277f303df123e050a98729415fed6a2590e7f76)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-protocols/quagga/quagga.inc

index 6127205..f043725 100644 (file)
@@ -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 () {