diff options
author | Andy Polyakov <appro@openssl.org> | 2005-04-04 17:10:53 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-04-04 17:10:53 +0000 |
commit | 0abfd606049999071891ef2bab460c99d254edc6 (patch) | |
tree | b5a1d96808941760cfb4ae9e16ece21240ef740c /config | |
parent | e5dbccc182f3ada92014f2569ed9624886040ce0 (diff) |
Extend Solaris x86 support to amd64.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -442,7 +442,7 @@ if [ "$SYSTEM" = "SunOS" ]; then egrep -e '^cc: .* C [0-9]\.[0-9]' | \ sed 's/.* C \([0-9]\)\.\([0-9]\).*/\1\2/'` CCVER=${CCVER:-0} - if [ $CCVER -gt 40 ]; then + if [ $MACHINE != i86pc -a $CCVER -gt 40 ]; then CC=cc # overrides gcc!!! if [ $CCVER -eq 50 ]; then echo "WARNING! Detected WorkShop C 5.0. Do make sure you have" @@ -638,7 +638,14 @@ case "$GUESSOS" in sun4m-*-solaris2) OUT="solaris-sparcv8-$CC" ;; sun4d-*-solaris2) OUT="solaris-sparcv8-$CC" ;; sun4*-*-solaris2) OUT="solaris-sparcv7-$CC" ;; - *86*-*-solaris2) OUT="solaris-x86-$CC" ;; + *86*-*-solaris2) + ISA64=`(isalist) 2>/dev/null | grep amd64` + if [ "$ISA64" != "" ]; then + OUT="solaris64-x86_64-$CC" + else + OUT="solaris-x86-$CC" + fi + ;; *-*-sunos4) OUT="sunos-$CC" ;; *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;; |