changeset 6304:4a0cf2c05cc6 icedtea-2.3.12

Set Zero flags for ARM32 in jdk_generic_profile.sh
author andrew
date Thu, 25 Jul 2013 17:10:09 +0100
parents 99c9a93a77b5
children 8c388c89a45c
files make/jdk_generic_profile.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/jdk_generic_profile.sh	Wed Jul 24 22:26:54 2013 +0100
+++ b/make/jdk_generic_profile.sh	Thu Jul 25 17:10:09 2013 +0100
@@ -280,7 +280,7 @@
 
   # ZERO_ENDIANNESS is the endianness of the processor
   case "${ZERO_LIBARCH}" in
-    i386|amd64|ia64)
+    i386|amd64|ia64|arm)
       ZERO_ENDIANNESS=little
       ;;
     ppc*|s390*|sparc*|alpha)
@@ -307,6 +307,9 @@
     s390)
       ZERO_ARCHFLAG="-m31"
       ;;
+    arm)
+      ZERO_ARCHFLAG="-D_LITTLE_ENDIAN"
+      ;;
     *)
       ZERO_ARCHFLAG="-m${ARCH_DATA_MODEL}"
   esac