From 3832a3a74dc987224365ae9500bf2dbecd5e4d50 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Tue, 25 Jun 2019 12:23:36 +0200 Subject: 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 --- recipes-core/icedtea/icedtea7-native.inc | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-54-g00ecf