diff options
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r-- | hints/irix_6.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 09c5ee1d59..3344808440 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -40,6 +40,7 @@ case "$cc" in *) test -f /usr/lib32/libm.so && cc='cc -n32' ;; esac esac +test -z "$cc" && cc=cc case "$use64bitint" in $define|true|[yY]*) @@ -206,8 +207,8 @@ esac # Don't groan about unused libraries. ldflags="$ldflags -Wl,-woff,84" -case "`$cc -version 2>&1`" in -*7.2.*) op_cflags='optimize=-O1' ;; # workaround for an optimizer bug +case "`uname -s`-`$cc -version 2>&1`" in +IRIX64-*7.2.*) op_cflags='optimize=-O1' ;; # workaround for an optimizer bug esac # We don't want these libraries. |