diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2020-04-29 11:59:08 +0200 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-05-05 07:09:44 +0200 |
commit | 00fa8f5e330679d00275010c7fda976caae44a00 (patch) | |
tree | 5f081aaae9aba86ae5d750afe8c8ac30fbb76a23 /recipes-core/openjdk/patches-openjdk-8/1013-hotspot-make-disable-Werror.patch | |
parent | 0207ab72c58662cf7ac60229a5e14879b73f461d (diff) | |
download | meta-java-00fa8f5e330679d00275010c7fda976caae44a00.tar.gz |
openjdk-8: remove -Werrorg0hl1n/jdk8-fix
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>
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.patch | 14 |
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 @@ | |||
1 | diff -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 | ||