JBoss Native SVN: r2770 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2011-05-06 10:35:58 -0400 (Fri, 06 May 2011)
New Revision: 2770
Modified:
trunk/build/unix/build.sh
Log:
Build macosx 64 bits too.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2011-05-06 14:17:26 UTC (rev 2769)
+++ trunk/build/unix/build.sh 2011-05-06 14:35:58 UTC (rev 2770)
@@ -344,6 +344,9 @@
PATH=$PATH:${JAVA_HOME}/Commands
fi
fi
+ if $force_64; then
+ CFLAGS="-m64"
+ fi
;;
HP-UX*)
BUILD_SYS="hpux"
@@ -680,7 +683,11 @@
fi
;;
macosx-x86)
- ./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags} darwin-i386-cc || exit 1
+ if $force_64; then
+ ./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags} darwin64-x86_64-cc || exit 1
+ else
+ ./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags} darwin-i386-cc || exit 1
+ fi
;;
hpux-parisc2)
./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags} hpux-parisc2-cc || exit 1