This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Workaround for an optimizer bug.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Mar 2000 19:52:34 +0000 (19:52 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Mar 2000 19:52:34 +0000 (19:52 +0000)
p4raw-id: //depot/cfgperl@5447

hints/irix_6.sh

index d14ac93..09c5ee1 100644 (file)
@@ -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)