summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/1013-hotspot-enable-Wno-error.patch33
1 files changed, 33 insertions, 0 deletions
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 @@
1From beeb3ed0855f1a2a6075da0ff2f93dc5654ab1d5 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 1013/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