Patchwork [4/7] modphp: fix text relocation QA warning

login
register
mail settings
Submitter Paul Eggleton
Date May 10, 2013, 6:09 p.m.
Message ID <45ebc64c13e572817862bcc1b7df09ff97efd350.1368209302.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/49767/
State Accepted, archived
Commit 25ddcf5d9e13d89f4e196ca6f5724ef73524841d
Headers show

Comments

Paul Eggleton - May 10, 2013, 6:09 p.m.
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@linux.intel.com>
---
 meta-webserver/recipes-php/modphp/modphp5.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

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 \