From: Jarkko Hietaniemi Date: Fri, 3 Mar 2000 02:24:05 +0000 (+0000) Subject: irix hints tweak X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a3be124a967e8b8c2b63eba4b01fc25cc9ee755;p=p5sagit%2Fp5-mst-13.2.git irix hints tweak p4raw-id: //depot/cfgperl@5468 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 09c5ee1..3344808 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.