[meta-java,3/4] icedtea7-native: disable new compiler warnings

Submitted by Richard Leitner on June 25, 2019, 11:53 a.m. | Patch ID: 162491

Details

Message ID 20190625115327.9314-4-richard.leitner@skidata.com
State Master Next
Delegated to: Richard Leitner
Headers show

Commit Message

Richard Leitner June 25, 2019, 11:53 a.m.
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>
---
 recipes-core/icedtea/icedtea7-native.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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