diff -r bafa1860c107 -r 37b2446d7f86 make/hotspot/lib/JvmFeatures.gmk --- a/make/hotspot/lib/JvmFeatures.gmk Mon Apr 30 15:55:21 2018 +0200 +++ b/make/hotspot/lib/JvmFeatures.gmk Thu May 03 09:07:40 2018 -0700 @@ -138,9 +138,8 @@ memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp endif -ifeq ($(call check-jvm-feature, aot), true) - JVM_CFLAGS_FEATURES += -DINCLUDE_AOT -else +ifneq ($(call check-jvm-feature, aot), true) + JVM_CFLAGS_FEATURES += -DINCLUDE_AOT=0 JVM_EXCLUDE_FILES += \ compiledIC_aot_x86_64.cpp compilerRuntime.cpp \ aotCodeHeap.cpp aotCompiledMethod.cpp aotLoader.cpp compiledIC_aot.cpp