modphp: fix text relocation QA warning
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 10 May 2013 14:38:53 +0000 (15:38 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:30:22 +0000 (08:30 -0800)
Fixes the following warning:

WARNING: QA Issue: ELF binary '${WORKDIR}/packages-split/modphp/usr/lib/apache2/modules/libphp5.so' has relocations in .text

(From meta-openembedded rev: 25ddcf5d9e13d89f4e196ca6f5724ef73524841d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-webserver/recipes-php/modphp/modphp5.inc

index 6b227af..62b59a1 100644 (file)
@@ -19,6 +19,7 @@ inherit autotools
 CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2"
 
 EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \
+                --with-pic \
                 --enable-maintainer-zts \
                 --without-mysql \
                 --enable-force-cgi-redirect \