summaryrefslogtreecommitdiff
path: root/dev-java/openj9-openjdk/files/openj9-no-o3.patch
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-08-10 15:28:18 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-08-11 19:43:06 -0400
commit9b306f5f6172c85cf0575ae2a8e23dd4fd607c89 (patch)
treed6fcf9f7eb1dc23bab2766fae971c09045da8f86 /dev-java/openj9-openjdk/files/openj9-no-o3.patch
parentd388600f378aa0d6e6b2db4f3d64512b2df21664 (diff)
downloadgentoo-overlay-9b306f5f6172c85cf0575ae2a8e23dd4fd607c89.tar.xz
gentoo-overlay-9b306f5f6172c85cf0575ae2a8e23dd4fd607c89.zip
dev-java/openj9-openjdk: upgrade to 0.33.0
Diffstat (limited to 'dev-java/openj9-openjdk/files/openj9-no-o3.patch')
-rw-r--r--dev-java/openj9-openjdk/files/openj9-no-o3.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-java/openj9-openjdk/files/openj9-no-o3.patch b/dev-java/openj9-openjdk/files/openj9-no-o3.patch
index 63d1dcf..b332052 100644
--- a/dev-java/openj9-openjdk/files/openj9-no-o3.patch
+++ b/dev-java/openj9-openjdk/files/openj9-no-o3.patch
@@ -1,11 +1,10 @@
-diff -ru a/runtime/cmake/platform/toolcfg/gnu.cmake b/runtime/cmake/platform/toolcfg/gnu.cmake
---- a/runtime/cmake/platform/toolcfg/gnu.cmake 2021-07-20 17:24:52.000000000 -0400
-+++ b/runtime/cmake/platform/toolcfg/gnu.cmake 2021-08-07 09:46:15.685325927 -0400
+--- a/runtime/cmake/platform/toolcfg/gnu.cmake
++++ b/runtime/cmake/platform/toolcfg/gnu.cmake
@@ -20,7 +20,6 @@
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
################################################################################
-list(APPEND OMR_PLATFORM_COMPILE_OPTIONS -O3 -g -fstack-protector)
- list(APPEND OMR_PLATFORM_C_COMPILE_OPTIONS -Wimplicit -Wreturn-type)
- list(APPEND OMR_PLATFORM_CXX_COMPILE_OPTIONS -fno-threadsafe-statics)
-
+ if(OMR_DDR AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 11))
+ # In gcc 11+ the default is to use DWARF version 5 which is not yet
+ # supported by ddrgen: tell the compiler to use DWARF version 4.