From: Jarkko Hietaniemi Date: Thu, 2 Mar 2000 19:52:34 +0000 (+0000) Subject: Workaround for an optimizer bug. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ea6ddde26e93ac4e470613e4a73999c44dba71c7;p=p5sagit%2Fp5-mst-13.2.git Workaround for an optimizer bug. p4raw-id: //depot/cfgperl@5447 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index d14ac93..09c5ee1 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -206,6 +206,10 @@ 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 +esac + # We don't want these libraries. # Socket networking is in libc, these are not installed by default, # and just slow perl down. (scotth@sgi.com)