mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00: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:
@@ -20,3 +20,5 @@ SRC_URI = "git://github.com/perl5-dbi/DBD-mysql.git;protocol=https;branch=master
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit cpan
|
inherit cpan
|
||||||
|
|
||||||
|
EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types"'
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export STAGING_LIBDIR
|
|||||||
export STAGING_INCDIR
|
export STAGING_INCDIR
|
||||||
|
|
||||||
# emulate cpan_do_configure
|
# 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
|
# Avoid do_configure error on some hosts
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
|||||||
Reference in New Issue
Block a user