8046471: Use OPENJDK_TARGET_CPU_ARCH instead of legacy value for hotspot ARCH
Reviewed-by: erikj, dholmes
--- a/common/autoconf/hotspot-spec.gmk.in Fri Jun 13 12:35:18 2014 -0700
+++ b/common/autoconf/hotspot-spec.gmk.in Wed Jun 18 12:35:37 2014 -0700
@@ -69,8 +69,8 @@
# Yet another name for arch used for an extra subdir below the jvm lib.
# Uses i386 and amd64, instead of x86 and x86_64.
LIBARCH=$(OPENJDK_TARGET_CPU_LEGACY_LIB)
-# Old name for OPENJDK_TARGET_CPU, uses i586 and amd64, instead of x86 and x86_64.
-ARCH=$(OPENJDK_TARGET_CPU_LEGACY)
+# Set the cpu architecture
+ARCH=$(OPENJDK_TARGET_CPU_ARCH)
# Legacy setting for building for a 64 bit machine.
# If yes then this expands to _LP64:=1
@LP64@