common/autoconf/platform.m4

Print this page
@  rev 1242 : 8067330: ZERO_ARCHDEF incorrectly defined for PPC/PPC64 architectures
|

*** 365,375 **** fi AC_SUBST(DEFINE_CROSS_COMPILE_ARCH) # ZERO_ARCHDEF is used to enable architecture-specific code case "${OPENJDK_TARGET_CPU}" in ! ppc*) ZERO_ARCHDEF=PPC ;; s390*) ZERO_ARCHDEF=S390 ;; sparc*) ZERO_ARCHDEF=SPARC ;; x86_64*) ZERO_ARCHDEF=AMD64 ;; x86) ZERO_ARCHDEF=IA32 ;; *) ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z) --- 365,376 ---- fi AC_SUBST(DEFINE_CROSS_COMPILE_ARCH) # ZERO_ARCHDEF is used to enable architecture-specific code case "${OPENJDK_TARGET_CPU}" in ! ppc) ZERO_ARCHDEF=PPC32 ;; ! ppc64) ZERO_ARCHDEF=PPC64 ;; s390*) ZERO_ARCHDEF=S390 ;; sparc*) ZERO_ARCHDEF=SPARC ;; x86_64*) ZERO_ARCHDEF=AMD64 ;; x86) ZERO_ARCHDEF=IA32 ;; *) ZERO_ARCHDEF=$(echo "${OPENJDK_TARGET_CPU_LEGACY_LIB}" | tr a-z A-Z)