common/autoconf/hotspot.m4
changeset 46193 7d73b0bb32b1
parent 43383 5e74f3dd4656
parent 46191 7ec14435e850
child 46197 9233f69fbd49
--- a/common/autoconf/hotspot.m4	Wed Jul 05 22:55:08 2017 +0200
+++ b/common/autoconf/hotspot.m4	Fri Feb 24 12:31:56 2017 -0500
@@ -212,8 +212,8 @@
   fi
 
   if test "x$ENABLE_AOT" = "xtrue"; then
-    # Only enable AOT on linux-X64.
-    if test "x$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU" = "xlinux-x86_64"; then
+    # Only enable AOT on X64 platforms.
+    if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
       if test -e "$HOTSPOT_TOPDIR/src/jdk.aot"; then
         if test -e "$HOTSPOT_TOPDIR/src/jdk.vm.compiler"; then
           ENABLE_AOT="true"