diff options
author | Andy Polyakov <appro@openssl.org> | 2005-05-21 16:50:27 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-05-21 16:50:27 +0000 |
commit | e4c9b85e65b6d5f0394ae122e0534de9a8becad5 (patch) | |
tree | e818a0cf24ff20fae86336745d441234728c5398 | |
parent | 447aa49007388f08528e03db7583574b7896c8a9 (diff) |
Default to no-sse2 on selected platforms.
-rwxr-xr-x | config | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -647,11 +647,14 @@ case "$GUESSOS" in OUT="solaris64-x86_64-$CC" else OUT="solaris-x86-$CC" + if [ `uname -r | sed -e 's/5\.//'` -lt 10 ]; then + options="$options no-sse2" + fi fi ;; *-*-sunos4) OUT="sunos-$CC" ;; - *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;; + *86*-*-bsdi4) OUT="bsdi-elf-gcc"; options="$options no-sse2" ;; alpha*-*-*bsd*) OUT="BSD-generic64; options="$options -DL_ENDIAN" ;; powerpc64-*-*bsd*) OUT="BSD-generic64; options="$options -DB_ENDIAN" ;; sparc64-*-*bsd*) OUT="BSD-sparc64" ;; @@ -659,7 +662,7 @@ case "$GUESSOS" in amd64-*-*bsd*) OUT="BSD-x86_64" ;; *86*-*-*bsd*) case "`(file -L /usr/lib/libc.so.*) 2>/dev/null`" in *ELF*) OUT="BSD-x86-elf" ;; - *) OUT="BSD-x86" ;; + *) OUT="BSD-x86"; options="$options no-sse2" ;; esac ;; *-*-*bsd*) OUT="BSD-generic32" ;; |