summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
diff options
context:
space:
mode:
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.patch31
1 files changed, 31 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..1ad8351
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch
@@ -0,0 +1,31 @@
1From 2303926f157f8c90cef167c43bd530793c19e480 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] 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---
14 hotspot/make/linux/makefiles/gcc.make | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make
18index cd9511e5..94412c8f 100644
19--- a/hotspot/make/linux/makefiles/gcc.make
20+++ b/hotspot/make/linux/makefiles/gcc.make
21@@ -200,8 +200,8 @@ else
22 CFLAGS += -pipe
23 endif
24
25-# Compiler warnings are treated as errors
26-WARNINGS_ARE_ERRORS = -Werror
27+# Compiler warnings are not treated as errors
28+WARNINGS_ARE_ERRORS = -Wno-error
29
30 ifeq ($(USE_CLANG), true)
31 # However we need to clean the code up before we can unrestrictedly enable this option with Clang