summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-04-29 11:59:08 +0200
committerRichard Leitner <richard.leitner@skidata.com>2020-05-06 07:29:28 +0200
commitcf9604a4789801d9dfb0cb8ca134ff04b42ae161 (patch)
treeeed2713307c76d0cc1035551458bd7964c8700a4 /recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch
parent2cf52b0f32712a0bd567b34a4fbb8f998abac638 (diff)
downloadmeta-java-cf9604a4789801d9dfb0cb8ca134ff04b42ae161.tar.gz
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 <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
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