diff options
| author | Kai Kang <kai.kang@windriver.com> | 2024-06-08 20:35:09 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-09 16:14:58 -0700 |
| commit | 4a085af2e61b0b0b3733935728f46bca6494a400 (patch) | |
| tree | 6c295b71be3042abd55f5c99a06b098f55041a42 | |
| parent | d0d0e6efb991c0c7e3bea85676dc7a0eb43ddc0a (diff) | |
| download | meta-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.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb | 2 |
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 | |||
| 20 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
| 21 | 21 | ||
| 22 | inherit cpan | 22 | inherit cpan |
| 23 | |||
| 24 | EXTRA_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 | |||
| 60 | export STAGING_INCDIR | 60 | export STAGING_INCDIR |
| 61 | 61 | ||
| 62 | # emulate cpan_do_configure | 62 | # emulate cpan_do_configure |
| 63 | EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' | 63 | EXTRA_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 | ||
| 66 | do_configure() { | 66 | do_configure() { |
