[oe] [meta-oe][PATCH] rrdtool: improve reproducibility

Hongxu Jia hongxu.jia at windriver.com
Thu May 23 08:06:19 UTC 2019


- Pass var-CFLAGS (contains -fdebug-prefix-map) to perl Makefile.pl
  to strip build path prefix

- Do not generate .packlist which contains build path.
  (it refers cpan_do_configure in cpan.bbclass)

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.7.1.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.7.1.bb
index 63cdb7a..eaa5c71 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.7.1.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.7.1.bb
@@ -35,7 +35,7 @@ am_cv_python_pyexecdir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packag
 --disable-python,python,"
 
 PACKAGECONFIG[perl] = \
-"--enable-perl=yes --with-perl-options='INSTALLDIRS="vendor"' \
+"--enable-perl=yes --with-perl-options='INSTALLDIRS="vendor" CCFLAGS="${CFLAGS}" NO_PACKLIST=1' \
 ac_cv_path_PERL_CC='${CC}',  \
 --disable-perl,perl,"
 
-- 
2.7.4



More information about the Openembedded-devel mailing list