Author: jfrederic.clere(a)jboss.com
Date: 2010-04-14 05:13:39 -0400 (Wed, 14 Apr 2010)
New Revision: 2659
Modified:
trunk/build/unix/build.sh
Log:
Oops:
cc: Warning: illegal option -xcode=abs64
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2010-04-14 08:43:55 UTC (rev 2658)
+++ trunk/build/unix/build.sh 2010-04-14 09:13:39 UTC (rev 2659)
@@ -321,7 +321,11 @@
fi
# Solaris compiler could do 32 or 64 bits.
if $force_64; then
- CFLAGS="-m64 -xcode=abs64"
+ if [ "xx86" = "x$BUILD_SYS" ]; then
+ CFLAGS="-m64"
+ else
+ CFLAGS="-m64 -xcode=abs64"
+ fi
export CFLAGS
LDFLAGS=-m64
export LDFLAGS
Show replies by date