Blame SOURCES/jdk8210647-rh1632174-libsaproc_is_being_compiled_without_optimization.patch

67e3c5
# HG changeset patch
67e3c5
# User sgehwolf
67e3c5
# Date 1536751862 -7200
67e3c5
#      Wed Sep 12 13:31:02 2018 +0200
67e3c5
# Node ID f95c6746fe256fe0456e0ea0d2930631ef840286
67e3c5
# Parent  7157249fdd4366d95dd68f3d083ebb0ef84c753b
67e3c5
8210647: libsaproc is being compiled without optimization
67e3c5
Reviewed-by: duke
67e3c5
67e3c5
diff --git a/make/lib/Lib-jdk.hotspot.agent.gmk b/make/lib/Lib-jdk.hotspot.agent.gmk
67e3c5
--- a/make/lib/Lib-jdk.hotspot.agent.gmk
67e3c5
+++ b/make/lib/Lib-jdk.hotspot.agent.gmk
67e3c5
@@ -52,7 +52,7 @@
67e3c5
 
67e3c5
 $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
67e3c5
     NAME := saproc, \
67e3c5
-    OPTIMIZATION := NONE, \
67e3c5
+    OPTIMIZATION := LOW, \
67e3c5
     DISABLED_WARNINGS_microsoft := 4267, \
67e3c5
     DISABLED_WARNINGS_gcc := sign-compare, \
67e3c5
     DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \