8156980: Hotspot build doesn't have -std=gnu++98 gcc option

8157358: Syntax error in TOOLCHAIN_CHECK_COMPILER_VERSION

Add flags for GCC 6 to JVM_CFLAGS and fix prefix handling

Reviewed-by: erikj, kbarrett
This commit is contained in:
Andrew John Hughes 2016-07-07 18:40:53 +01:00
parent aa7a85dcbf
commit 7431d74121

@ -51,6 +51,9 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLC_CFLAGS_WARNINGS := -W3 -D_CRT_SECURE_NO_WARNINGS
endif
# Set the C++ standard if supported
ADLC_CFLAGS += $(CXXSTD_CXXFLAG)
# NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to
# hurt.
ADLC_CFLAGS += -DASSERT