aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.24.1.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-10-10 17:17:53 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-16 23:52:03 +0100
commit71236e56cdc46b2e08fb5e06b06ea857a140288c (patch)
tree30f21db3d5278260d57a1fe44e365d17ed70b4fe /meta/recipes-devtools/perl/perl_5.24.1.bb
parent908cf4d624d54f0dc46f5f5cc1879b89e1640692 (diff)
downloadopenembedded-core-contrib-71236e56cdc46b2e08fb5e06b06ea857a140288c.tar.gz
perl: remove the reference of DEBUG_PREFIX_MAP
Remove all instances of -fdebug-prefix-map in ccflags* because they contain references to the build host and are not needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.24.1.bb')
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 1e1d4f50fc4..b55d2223e28 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -223,6 +223,7 @@ PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess"
perl_package_preprocess () {
# Fix up installed configuration
sed -i -e "s,${D},,g" \
+ -e "s,${DEBUG_PREFIX_MAP},,g" \
-e "s,--sysroot=${STAGING_DIR_HOST},,g" \
-e "s,-isystem${STAGING_INCDIR} ,,g" \
-e "s,${STAGING_LIBDIR},${libdir},g" \