summaryrefslogtreecommitdiff
path: root/dev-java/openj9-openjdk/files
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-07 10:25:35 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-07 10:25:35 -0400
commitc038c5241283e7a55b0d881296be60119284e684 (patch)
treeb435131d1957c9c9825872c47b41af468c16a606 /dev-java/openj9-openjdk/files
parentf3364bb8babee2a92bba05370e2fc0adcc822f95 (diff)
downloadgentoo-overlay-c038c5241283e7a55b0d881296be60119284e684.tar.xz
gentoo-overlay-c038c5241283e7a55b0d881296be60119284e684.zip
dev-java/openj9-openjdk: no force o3
Diffstat (limited to 'dev-java/openj9-openjdk/files')
-rw-r--r--dev-java/openj9-openjdk/files/openj9-no-o3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-java/openj9-openjdk/files/openj9-no-o3.patch b/dev-java/openj9-openjdk/files/openj9-no-o3.patch
new file mode 100644
index 0000000..63d1dcf
--- /dev/null
+++ b/dev-java/openj9-openjdk/files/openj9-no-o3.patch
@@ -0,0 +1,11 @@
+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
+@@ -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)
+