This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
the workaround is needed in all 7.2.* compilers,
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 3 Mar 2000 19:14:01 +0000 (19:14 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 3 Mar 2000 19:14:01 +0000 (19:14 +0000)
not just on IRIX64.

p4raw-id: //depot/cfgperl@5494

hints/irix_6.sh

index 5e36c31..6119c0d 100644 (file)
@@ -207,9 +207,8 @@ esac
 # Don't groan about unused libraries.
 ldflags="$ldflags -Wl,-woff,84"
 
 # Don't groan about unused libraries.
 ldflags="$ldflags -Wl,-woff,84"
 
-case "`uname -s`-`$cc -version 2>&1`" in
-IRIX64-*7.2.*)
-op_cflags='optimize=-O1' ;; # workaround for an optimizer bug
+case "`$cc -version 2>&1`" in
+*7.2.*) op_cflags='optimize=-O1' ;; # workaround for an optimizer bug
 esac
 
 # We don't want these libraries.
 esac
 
 # We don't want these libraries.