From ea6ddde26e93ac4e470613e4a73999c44dba71c7 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 2 Mar 2000 19:52:34 +0000 Subject: [PATCH] Workaround for an optimizer bug. p4raw-id: //depot/cfgperl@5447 --- hints/irix_6.sh | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.7.4