From: Andy Polyakov Date: Mon, 27 Dec 2004 14:55:19 +0000 (+0000) Subject: Remove CPU detect for IRIX targets. Performance gain is less than 1%, it X-Git-Tag: OpenSSL_0_9_7f~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e34e806a2bf06682956f4100f54f30381a860e7;p=oweals%2Fopenssl.git Remove CPU detect for IRIX targets. Performance gain is less than 1%, it doesn't pay off... --- diff --git a/config b/config index d460088cf5..a086a1361e 100755 --- a/config +++ b/config @@ -491,13 +491,13 @@ case "$GUESSOS" in OUT="irix-$CC" ;; mips3-sgi-irix) - CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'` - CPU=${CPU:-0} - if [ $CPU -ge 5000 ]; then - options="$options -mips4" - else - options="$options -mips3" - fi + #CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'` + #CPU=${CPU:-0} + #if [ $CPU -ge 5000 ]; then + # options="$options -mips4" + #else + # options="$options -mips3" + #fi OUT="irix-mips3-$CC" ;; mips4-sgi-irix64) @@ -507,13 +507,13 @@ case "$GUESSOS" in echo " You have about 5 seconds to press Ctrl-C to abort." (stty -icanon min 0 time 50; read waste) < /dev/tty fi - CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'` - CPU=${CPU:-0} - if [ $CPU -ge 5000 ]; then - options="$options -mips4" - else - options="$options -mips3" - fi + #CPU=`(hinv -t cpu) 2>/dev/null | head -1 | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'` + #CPU=${CPU:-0} + #if [ $CPU -ge 5000 ]; then + # options="$options -mips4" + #else + # options="$options -mips3" + #fi OUT="irix-mips3-$CC" ;; alpha-*-linux2)