From 927a58dbfded8de3f1fe9754ca38c6867fff79a2 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Thu, 20 Aug 2020 09:41:33 +0200 Subject: openjdk-8: refresh patches Refresh all openjdk8 patches as a preparation for the upcoming update. Signed-off-by: Richard Leitner --- .../1013-hotspot-enable-Wno-error.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch (limited to 'recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch') diff --git a/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch new file mode 100644 index 0000000..cdfe364 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch @@ -0,0 +1,33 @@ +From beeb3ed0855f1a2a6075da0ff2f93dc5654ab1d5 Mon Sep 17 00:00:00 2001 +From: Richard Leitner +Date: Thu, 20 Aug 2020 09:39:23 +0200 +Subject: [PATCH 1013/1013] hotspot: enable -Wno-error + +As we don't want to deal with compiler warnings in OpenEmbedded disable +them for now. + +Upstream-Status: Pending + +Signed-off-by: Richard Leitner +--- + make/linux/makefiles/gcc.make | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make +index cd9511e50..94412c8fe 100644 +--- a/hotspot/make/linux/makefiles/gcc.make ++++ b/hotspot/make/linux/makefiles/gcc.make +@@ -200,8 +200,8 @@ else + 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 +-- +2.26.2 + -- cgit v1.2.3-54-g00ecf