5 --- a/make/hotspot/lib/JvmOverrideFiles.gmk.orig 2019-01-08 09:40:29.000000000 +0000
6 +++ b/make/hotspot/lib/JvmOverrideFiles.gmk
7 @@ -82,7 +82,8 @@ ifeq ($(OPENJDK_TARGET_OS), linux)
8 $(foreach s, $(NONPIC_SRC), $(eval BUILD_LIBJVM_$(notdir $s)_CXXFLAGS := -fno-PIC))
11 -else ifeq ($(call isTargetOs, solaris), true)
12 +# All of the following are SunStudio flags. XXX: verify none are needed for GCC
13 +else ifeq ($(TOOLCHAIN_TYPE), solstudio)
14 ifneq ($(DEBUG_LEVEL), slowdebug)
15 # dev studio 12.6 workaround
16 BUILD_LIBJVM_arguments.cpp_OPTIMIZATION := LOW