summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2020-08-20 12:41:58 +0200
committerRichard Leitner <richard.leitner@skidata.com>2020-08-24 08:19:14 +0200
commit3b65eea96eddde97169ca5e00be01a9dbd257786 (patch)
tree9e6ec626f6e96141ad015ecdfa5d38453160f70e /recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
parent00cb61feb07098d55b78237af6eb55fc4b906a0e (diff)
downloadmeta-java-3b65eea96eddde97169ca5e00be01a9dbd257786.tar.gz
openjdk-8: update to latest ga version 265
Patch related changes: * The hotspot patch 1004 was mainlined in changeset 3a3803a0c789 [1] and is therfore dropped. * The jdk patch 2010 was mainlined in changeset c4418d567028 [2] and is therefore dropped. * Rename hotspot/aarch64 patches to start with number 1401. * Rename hotspot/aarch32 patches to start with number 1201. * Merge aarch32-hotspot-fix-shark-build-pt2.patch and openjdk8-fix-shark-build-pt2.patch to hotspot patch 1013 as they were the same. [1] https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/3a3803a0c789 [2] https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/c4418d567028 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
new file mode 100644
index 0000000..492d9d7
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
@@ -0,0 +1,33 @@
1From c36d56682baeab713038d9050a3abf6c1af3e92d Mon Sep 17 00:00:00 2001
2From: Richard Leitner <richard.leitner@skidata.com>
3Date: Thu, 20 Aug 2020 09:39:23 +0200
4Subject: [PATCH 1012/1013] hotspot: enable -Wno-error
5
6As we don't want to deal with compiler warnings in OpenEmbedded disable
7them for now.
8
9Upstream-Status: Pending
10
11Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
12---
13 make/linux/makefiles/gcc.make | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make
17index cd9511e50..94412c8fe 100644
18--- a/hotspot/make/linux/makefiles/gcc.make
19+++ b/hotspot/make/linux/makefiles/gcc.make
20@@ -200,8 +200,8 @@ else
21 CFLAGS += -pipe
22 endif
23
24-# Compiler warnings are treated as errors
25-WARNINGS_ARE_ERRORS = -Werror
26+# Compiler warnings are not treated as errors
27+WARNINGS_ARE_ERRORS = -Wno-error
28
29 ifeq ($(USE_CLANG), true)
30 # However we need to clean the code up before we can unrestrictedly enable this option with Clang
31--
322.26.2
33