[oe-commits] Paul Eggleton : modphp: fix text relocation QA warning

git at git.openembedded.org git at git.openembedded.org
Tue May 14 22:43:26 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 25ddcf5d9e13d89f4e196ca6f5724ef73524841d
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=25ddcf5d9e13d89f4e196ca6f5724ef73524841d

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri May 10 15:38:53 2013 +0100

modphp: fix text relocation QA warning

Fixes the following warning:

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

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 meta-webserver/recipes-php/modphp/modphp5.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc
index 6b227af..62b59a1 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -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 \





More information about the Openembedded-commits mailing list