summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-02 19:52:34 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-02 19:52:34 +0000
commitea6ddde26e93ac4e470613e4a73999c44dba71c7 (patch)
tree7bb25b5055be39ebc71b31e7af38ea00217b468f /hints
parentd6c8a45d2a9ca32397229bc8b27367deda42047d (diff)
downloadperl-ea6ddde26e93ac4e470613e4a73999c44dba71c7.tar.gz
Workaround for an optimizer bug.
p4raw-id: //depot/cfgperl@5447
Diffstat (limited to 'hints')
-rw-r--r--hints/irix_6.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index d14ac93af6..09c5ee1d59 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)