From af6cafc6032c126fd6555dceee2eeb572d57cede Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 21 May 2005 16:52:30 +0000 Subject: Default to no-sse2 on selected platforms. --- config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config b/config index 02d7de0266..7d330e4a54 100755 --- a/config +++ b/config @@ -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" ;; -- cgit v1.2.3