summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-03 02:24:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-03 02:24:05 +0000
commit2a3be124a967e8b8c2b63eba4b01fc25cc9ee755 (patch)
tree59e3dad9febeae5b7333e3121af3a457f341ae7a /hints/irix_6.sh
parent9ca3806253dfe83a834b67a46fb82a7ac77a38e5 (diff)
downloadperl-2a3be124a967e8b8c2b63eba4b01fc25cc9ee755.tar.gz
irix hints tweak
p4raw-id: //depot/cfgperl@5468
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 09c5ee1d59..3344808440 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -40,6 +40,7 @@ case "$cc" in
*) test -f /usr/lib32/libm.so && cc='cc -n32' ;;
esac
esac
+test -z "$cc" && cc=cc
case "$use64bitint" in
$define|true|[yY]*)
@@ -206,8 +207,8 @@ 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
+case "`uname -s`-`$cc -version 2>&1`" in
+IRIX64-*7.2.*) op_cflags='optimize=-O1' ;; # workaround for an optimizer bug
esac
# We don't want these libraries.