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:
Kai Kang
2024-06-08 20:35:09 +08:00
committed by Khem Raj
parent d0d0e6efb9
commit 4a085af2e6
2 changed files with 3 additions and 1 deletions
@@ -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"'