Author: jfrederic.clere(a)jboss.com
Date: 2011-07-22 03:43:32 -0400 (Fri, 22 Jul 2011)
New Revision: 2828
Modified:
trunk/build/unix/build.sh
Log:
Separe solaris 9 and 10.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2011-07-22 07:01:47 UTC (rev 2827)
+++ trunk/build/unix/build.sh 2011-07-22 07:43:32 UTC (rev 2828)
@@ -297,6 +297,15 @@
;;
SunOS*)
BUILD_SYS="solaris"
+ BUILD_VER=`uname -r`
+ case ${BUILD_VER} in
+ 5.9)
+ BUILD_SYS="solaris9"
+ ;;
+ 5.10)
+ BUILD_SYS="solaris10"
+ ;;
+ esac
# Try to use sun studio.
# we need makedepend for make depend (openssl)
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/X/bin:/usr/local/bin:$PATH
@@ -676,14 +685,14 @@
echo "ssl_srcdir: $ssl_srcdir in: `pwd`"
(cd ${ssl_srcdir}
case ${BUILD_TAG} in
- solaris-sparcv9|solaris-sun4v)
+ solaris*-sparcv9|solaris*-sun4v)
if $force_64; then
./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags}
solaris64-sparcv9-cc || exit 1
else
./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags}
solaris-sparcv9-cc || exit 1
fi
;;
- solaris-x86)
+ solaris*-x86)
if $force_64; then
./Configure ${ssl_target} ${ssl_common_flags} ${ssl_build_flags}
solaris64-x86_64-cc || exit 1
else
Show replies by date