--- old/make/hotspot/gensrc/GensrcAdlc.gmk 2020-06-04 23:39:01.692638586 -0400 +++ new/make/hotspot/gensrc/GensrcAdlc.gmk 2020-06-04 23:39:01.268624192 -0400 @@ -37,18 +37,18 @@ ifeq ($(call isBuildOs, linux), true) ADLC_CFLAGS := -fno-exceptions -DLINUX else ifeq ($(call isBuildOs, aix), true) - ADLC_LDFLAGS := -q64 + ADLC_LDFLAGS += -q64 ADLC_CFLAGS := -qnortti -qeh -q64 -DAIX else ifeq ($(call isBuildOs, windows), true) - ADLC_LDFLAGS := -nologo + ADLC_LDFLAGS += -nologo ADLC_CFLAGS := -nologo -EHsc # NOTE: The old build also have -D_CRT_SECURE_NO_DEPRECATE but it doesn't # seem needed any more. ADLC_CFLAGS_WARNINGS := -W3 -D_CRT_SECURE_NO_WARNINGS endif - # Set the C++ standard if supported - ADLC_CFLAGS += $(ADLC_CXXFLAG) + # Set the C++ standard + ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG) # NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to # hurt.