[OE-core] [PATCH] perl: remove the reference of DEBUG_PREFIX_MAP
jackie.huang at windriver.com
jackie.huang at windriver.com
Tue Oct 10 09:17:53 UTC 2017
From: Jackie Huang <jackie.huang at windriver.com>
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 at windriver.com>
---
meta/recipes-devtools/perl/perl_5.24.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 1e1d4f50fc..b55d2223e2 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" \
--
2.11.0
More information about the Openembedded-core
mailing list