From 00fa8f5e330679d00275010c7fda976caae44a00 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Wed, 29 Apr 2020 11:59:08 +0200 Subject: openjdk-8: remove -Werror Add patches to remove Werror from the build process. Therefore we also drop the "-Wno-*" exceptions. Signed-off-by: Richard Leitner --- .../1013-hotspot-make-disable-Werror.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch (limited to 'recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch') diff --git a/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch new file mode 100644 index 0000000..bc844be --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch @@ -0,0 +1,14 @@ +diff -r 12177d88b89c hotspot/make/linux/makefiles/gcc.make +--- a/hotspot/make/linux/makefiles/gcc.make Thu Sep 26 07:17:41 2019 +0100 ++++ b/hotspot/make/linux/makefiles/gcc.make Wed Apr 29 10:56:10 2020 +0200 +@@ -200,8 +200,8 @@ + CFLAGS += -pipe + endif + +-# Compiler warnings are treated as errors +-WARNINGS_ARE_ERRORS = -Werror ++# Compiler warnings are not treated as errors ++WARNINGS_ARE_ERRORS = -Wno-error + + ifeq ($(USE_CLANG), true) + # However we need to clean the code up before we can unrestrictedly enable this option with Clang -- cgit v1.2.3-54-g00ecf