From a277f303df123e050a98729415fed6a2590e7f76 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Mon, 21 Apr 2014 14:24:51 +0800 Subject: 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 Signed-off-by: Joe MacDonald --- meta-networking/recipes-protocols/quagga/quagga.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index 612720573a..f043725be8 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 () { -- cgit 1.2.3-korg