summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-12-27 14:57:54 +0000
committerAndy Polyakov <appro@openssl.org>2004-12-27 14:57:54 +0000
commit0c5160020336548d9bfae08cbe8c4190c1515073 (patch)
treea18f86d862ce7d3bb06f7ce0d3610e8cc8af47b6 /config
parent9850f7f6b285ed1c0c849b1fa97522245f294586 (diff)
Remove CPU detect for IRIX targets. Performance gain is less than 1%,
it makes more sense to strive for broader binary compatibility...
Diffstat (limited to 'config')
-rwxr-xr-xconfig28
1 files changed, 14 insertions, 14 deletions
diff --git a/config b/config
index 9d6788708f..b38935f9b8 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)