mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-27 12:01:38 +01:00
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>
This commit is contained in:
parent
d0d0e6efb9
commit
4a085af2e6
|
|
@ -20,3 +20,5 @@ SRC_URI = "git://github.com/perl5-dbi/DBD-mysql.git;protocol=https;branch=master
|
|||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cpan
|
||||
|
||||
EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types"'
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export STAGING_LIBDIR
|
|||
export STAGING_INCDIR
|
||||
|
||||
# emulate cpan_do_configure
|
||||
EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
|
||||
EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" '
|
||||
# Avoid do_configure error on some hosts
|
||||
|
||||
do_configure() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user