summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-15 22:27:18 -0700
committerArmin Kuster <akuster808@gmail.com>2023-05-28 16:12:45 -0400
commita1f205e081d3b5fa84f8ce9d81f13c9fdd4f00cf (patch)
treee82a3f0826a46ea3ff5ed2f25ce6a4dd6d75a08c
parenta70f4025967804f158b2f0218ee5ce7411652a43 (diff)
downloadmeta-openembedded-a1f205e081d3b5fa84f8ce9d81f13c9fdd4f00cf.tar.gz
php: Remove buildpaths from scripts and generated headers
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 439239ca9c543b0913de054f01453796e373ac00) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php_8.2.6.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/php/php_8.2.6.bb b/meta-oe/recipes-devtools/php/php_8.2.6.bb
index d302878999..54c40392db 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.6.bb
+++ b/meta-oe/recipes-devtools/php/php_8.2.6.bb
@@ -143,6 +143,13 @@ do_configure:append() {
143 # No, libtool, we really don't want rpath set... 143 # No, libtool, we really don't want rpath set...
144 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 144 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
145 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 145 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
146 sed -i -e's@${RECIPE_SYSROOT}@@g' \
147 -e's@-ffile-prefix-map=[^ ]*[ ]*@@g' \
148 -e's@-fdebug-prefix-map=[^ ]*[ ]*@@g' \
149 -e's@-ffile-prefix-map=[^ ]*[ ]*@@g' \
150 -e's@-fmacro-prefix-map=[^ ]*[ ]*@@g' \
151 ${B}/main/build-defs.h \
152 ${B}/scripts/php-config
146} 153}
147 154
148do_install:append:class-native() { 155do_install:append:class-native() {