[oe] [meta-java][PATCH 3/4] icedtea7-native: disable new compiler warnings
Richard Leitner
richard.leitner at skidata.com
Tue Jun 25 11:53:26 UTC 2019
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 at skidata.com>
---
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
--
2.20.1
More information about the Openembedded-devel
mailing list