5 --- a/make/hotspot/gensrc/GensrcAdlc.gmk.orig 2019-01-08 12:44:55.000000000 +0000
6 +++ b/make/hotspot/gensrc/GensrcAdlc.gmk
7 @@ -39,7 +39,11 @@ ifeq ($(call check-jvm-feature, compiler
8 else ifeq ($(call isBuildOs, solaris), true)
11 + ifeq ($(TOOLCHAIN_TYPE), solstudio)
12 ADLC_CFLAGS_WARNINGS := +w
14 + ADLC_CFLAGS += -fpermissive
16 else ifeq ($(call isBuildOs, aix), true)
18 ADLC_CFLAGS := -qnortti -qeh -q64 -DAIX
19 @@ -94,7 +98,10 @@ ifeq ($(call check-jvm-feature, compiler
20 ifeq ($(call isTargetOs, linux), true)
21 ADLCFLAGS += -DLINUX=1 -D_GNU_SOURCE=1
22 else ifeq ($(call isTargetOs, solaris), true)
23 - ADLCFLAGS += -DSOLARIS=1 -DSPARC_WORKS=1
24 + ADLCFLAGS += -DSOLARIS=1
25 + ifeq ($(TOOLCHAIN_TYPE), solstudio)
26 + ADLCFLAGS += -DSPARC_WORKS=1
28 else ifeq ($(call isTargetOs, aix), true)
30 else ifeq ($(call isTargetOs, macosx), true)