From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 3 Mar 2000 19:14:01 +0000 (+0000)
Subject: the workaround is needed in all 7.2.* compilers,
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea437474a2ef8d1c554444df9e9faca78e36bcd1;p=p5sagit%2Fp5-mst-13.2.git

the workaround is needed in all 7.2.* compilers,
not just on IRIX64.

p4raw-id: //depot/cfgperl@5494
---

diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 5e36c31..6119c0d 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -207,9 +207,8 @@ esac
 # Don't groan about unused libraries.
 ldflags="$ldflags -Wl,-woff,84"
 
-case "`uname -s`-`$cc -version 2>&1`" in
-IRIX64-*7.2.*)
-op_cflags='optimize=-O1' ;; # workaround for an optimizer bug
+case "`$cc -version 2>&1`" in
+*7.2.*) op_cflags='optimize=-O1' ;; # workaround for an optimizer bug
 esac
 
 # We don't want these libraries.