rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / openjdk-11 / patches / make_hotspot_gensrc_GensrcAdlc.gmk.patch
blobeeab232e6fc4dc734c0f71b72b8bcd342849f9d3
1 $NetBSD$
3 Support SunOS/gcc.
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)
9 ADLC_LDFLAGS := -m64
10 ADLC_CFLAGS := -m64
11 + ifeq ($(TOOLCHAIN_TYPE), solstudio)
12 ADLC_CFLAGS_WARNINGS := +w
13 + else
14 + ADLC_CFLAGS += -fpermissive
15 + endif
16 else ifeq ($(call isBuildOs, aix), true)
17 ADLC_LDFLAGS := -q64
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
27 + endif
28 else ifeq ($(call isTargetOs, aix), true)
29 ADLCFLAGS += -DAIX=1
30 else ifeq ($(call isTargetOs, macosx), true)