summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch b/recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch
deleted file mode 100644
index 1a406f2..0000000
--- a/recipes-core/openjdk/patches-openjdk-8/hotspot_fix_gcc8x_build.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1From: Richard Leitner <richard.leitner@skidata.com>
2Date: Thu, 14 Jun 2018 23:42:11 +0200
3Subject: [PATCH] openjdk-8: hotspot: fix gcc8 compilation
4
5As oe-core/yocto-project master migrated to gcc8.x we need to support this.
6Therefore disable following gcc warnings/errors which caused the build to fail:
7 + stringop-overflow
8 + return-type
9---
10
11--- a/hotspot/make/linux/makefiles/gcc.make
12+++ b/hotspot/make/linux/makefiles/gcc.make
13@@ -197,7 +197,7 @@
14 endif
15
16 # Compiler warnings are treated as errors
17-WARNINGS_ARE_ERRORS = -Werror
18+WARNINGS_ARE_ERRORS = -Werror -Wno-stringop-overflow -Wno-error=return-type
19
20 ifeq ($(USE_CLANG), true)
21 # However we need to clean the code up before we can unrestrictedly enable this option with Clang