Author: jfrederic.clere(a)jboss.com
Date: 2010-03-24 09:06:22 -0400 (Wed, 24 Mar 2010)
New Revision: 2649
Modified:
trunk/build/unix/build.sh
Log:
Allow build 64 bit on sun4v.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2010-03-24 12:02:50 UTC (rev 2648)
+++ trunk/build/unix/build.sh 2010-03-24 13:06:22 UTC (rev 2649)
@@ -262,8 +262,7 @@
BUILD_CPU=`uname -m`
fi
case ${BUILD_CPU} in
- sun4u*)
- BUILD_CPU=sparcv9
+ sun4u*|sun4v*)
if $force_64; then
CFLAGS=-m64
export CFLAGS
@@ -271,6 +270,11 @@
export LDFLAGS
fi
;;
+esac
+case ${BUILD_CPU} in
+ sun4u*)
+ BUILD_CPU=sparcv9
+ ;;
i86pc*)
BUILD_CPU=x86
;;