summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch14
1 files changed, 14 insertions, 0 deletions
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 @@
1diff -r 12177d88b89c hotspot/make/linux/makefiles/gcc.make
2--- a/hotspot/make/linux/makefiles/gcc.make Thu Sep 26 07:17:41 2019 +0100
3+++ b/hotspot/make/linux/makefiles/gcc.make Wed Apr 29 10:56:10 2020 +0200
4@@ -200,8 +200,8 @@
5 CFLAGS += -pipe
6 endif
7
8-# Compiler warnings are treated as errors
9-WARNINGS_ARE_ERRORS = -Werror
10+# Compiler warnings are not treated as errors
11+WARNINGS_ARE_ERRORS = -Wno-error
12
13 ifeq ($(USE_CLANG), true)
14 # However we need to clean the code up before we can unrestrictedly enable this option with Clang