aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2019-06-25 12:23:36 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-06-25 13:10:34 +0200
commit3832a3a74dc987224365ae9500bf2dbecd5e4d50 (patch)
tree2f9be0408ce8c8698cf2143beb2261d651981c46
parente4603af7ef70181b65300f994430c252798ff437 (diff)
downloadmeta-java-3832a3a74dc987224365ae9500bf2dbecd5e4d50.tar.gz
meta-java-3832a3a74dc987224365ae9500bf2dbecd5e4d50.tar.bz2
meta-java-3832a3a74dc987224365ae9500bf2dbecd5e4d50.zip
icedtea7-native: disable new compiler warnings
As new compilers throw new errors/warnings disable them for icedtea7-native as a quick workaround until we updated it to the latest version. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/icedtea/icedtea7-native.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
index 69f5d25..70b935a 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -24,6 +24,9 @@ CFLAGS_append = " -fno-tree-dse"
CXXFLAGS_append = " -fno-tree-dse"
CXX_append = " -std=gnu++98"
+# WORKAROUND: ignore errors from new compilers
+CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
+
inherit native java autotools pkgconfig
inherit openjdk-build-helper