completion and docs for dynamic loading on OS/390
[p5sagit/p5-mst-13.2.git] / hints / irix_6.sh
index 6d5b51b..32335a0 100644 (file)
@@ -48,7 +48,13 @@ case "$cc" in
     *) test -f /usr/lib32/libm.so && cc='cc -n32' ;;
     esac       
 esac
-test -z "$cc" && cc=cc
+
+cc=${cc:-cc}
+
+case "$cc" in
+*gcc*) ;;
+*) ccversion=`cc -version` ;;
+esac
 
 case "$use64bitint" in
 $define|true|[yY]*)
@@ -236,7 +242,8 @@ ldflags="$ldflags -Wl,-woff,84"
 
 # workaround for an optimizer bug
 case "`$cc -version 2>&1`" in
-*7.2.*|*7.3.1.*) op_cflags='optimize=-O1' ;;
+*7.2.*)   op_cflags='optimize=-O1'; opmini_cflags='optimize=-O1' ;;
+*7.3.1.*) op_cflags='optimize=-O2'; opmini_cflags='optimize=-O2' ;;
 esac
 
 # We don't want these libraries.