8165158: Fix zero builds for non-listed architectures
authorerikj
Thu, 01 Sep 2016 10:29:37 +0200
changeset 40619 7ec316b9555d
parent 40618 2d980815001d
child 40620 48f3e897a61d
child 40848 6f7ce808b568
8165158: Fix zero builds for non-listed architectures Reviewed-by: tbell Contributed-by: doko@ubuntu.com
common/autoconf/generated-configure.sh
common/autoconf/platform.m4
--- a/common/autoconf/generated-configure.sh	Wed Aug 31 09:22:53 2016 -0700
+++ b/common/autoconf/generated-configure.sh	Thu Sep 01 10:29:37 2016 +0200
@@ -5095,7 +5095,7 @@
 #CUSTOM_AUTOCONF_INCLUDE
 
 # Do not change or remove the following line, it is needed for consistency checks:
-DATE_WHEN_GENERATED=1470863189
+DATE_WHEN_GENERATED=1472718471
 
 ###############################################################################
 #
@@ -15944,6 +15944,8 @@
     HOTSPOT_TARGET_CPU_DEFINE=S390
   elif test "x$OPENJDK_TARGET_CPU" = xs390x; then
     HOTSPOT_TARGET_CPU_DEFINE=S390
+  elif test "x$OPENJDK_TARGET_CPU" != x; then
+    HOTSPOT_TARGET_CPU_DEFINE=$(echo $OPENJDK_TARGET_CPU | tr a-z A-Z)
   fi
 
 
@@ -16117,6 +16119,8 @@
     HOTSPOT_BUILD_CPU_DEFINE=S390
   elif test "x$OPENJDK_BUILD_CPU" = xs390x; then
     HOTSPOT_BUILD_CPU_DEFINE=S390
+  elif test "x$OPENJDK_BUILD_CPU" != x; then
+    HOTSPOT_BUILD_CPU_DEFINE=$(echo $OPENJDK_BUILD_CPU | tr a-z A-Z)
   fi
 
 
--- a/common/autoconf/platform.m4	Wed Aug 31 09:22:53 2016 -0700
+++ b/common/autoconf/platform.m4	Thu Sep 01 10:29:37 2016 +0200
@@ -454,6 +454,8 @@
     HOTSPOT_$1_CPU_DEFINE=S390
   elif test "x$OPENJDK_$1_CPU" = xs390x; then
     HOTSPOT_$1_CPU_DEFINE=S390
+  elif test "x$OPENJDK_$1_CPU" != x; then
+    HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
   fi
   AC_SUBST(HOTSPOT_$1_CPU_DEFINE)