summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2024-06-08 20:35:09 +0800
committerKhem Raj <raj.khem@gmail.com>2024-06-09 16:14:58 -0700
commit4a085af2e61b0b0b3733935728f46bca6494a400 (patch)
tree6c295b71be3042abd55f5c99a06b098f55041a42
parentd0d0e6efb991c0c7e3bea85676dc7a0eb43ddc0a (diff)
downloadmeta-openembedded-4a085af2e61b0b0b3733935728f46bca6494a400.tar.gz
libdbd-mysql-perl,rrdtool: Disable gcc option -Wincompatible-pointer-types
It fails to run do_compile tasks for libdbd-mysql-perl and rrdtool with gcc option -Wincompatible-pointer-types enabled by default. Disable it as workaround. - add workaround for incompatible-pointer-types [https://github.com/perl5-dbi/DBD-mysql/issues/430] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Markus Volk <f_l_k@t-online.de>
-rw-r--r--meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.050.bb2
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.050.bb b/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.050.bb
index fc505fe1e8..9199979147 100644
--- a/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.050.bb
+++ b/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.050.bb
@@ -20,3 +20,5 @@ SRC_URI = "git://github.com/perl5-dbi/DBD-mysql.git;protocol=https;branch=master
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22inherit cpan 22inherit cpan
23
24EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types"'
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
index ff173dec5b..d843f82b27 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
@@ -60,7 +60,7 @@ export STAGING_LIBDIR
60export STAGING_INCDIR 60export STAGING_INCDIR
61 61
62# emulate cpan_do_configure 62# emulate cpan_do_configure
63EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' 63EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" '
64# Avoid do_configure error on some hosts 64# Avoid do_configure error on some hosts
65 65
66do_configure() { 66do_configure() {