Irix6.4 (with 7.1 compilers)
[p5sagit/p5-mst-13.2.git] / hints / irix_6_4.sh
index b5a9945..056ed78 100644 (file)
@@ -1,13 +1,26 @@
 # hints/irix_6_4.sh
 #
-# Created by John Stoffel (jfs@fluent.com), 01/13/1997
+# Created by John Stoffel (jfs@fluent.com), 02/11/1997
 # Based on the Irix 6.2 hints file, but simplified.
 
 # Configure can't parse 'nm' output on Irix 6.4
 usenm='n'
 
-# This keeps optimizer warnings quiet.
-ccflags="$ccflags -Olimit 3000"
+# The new Irix IDO v7.1 compiler is strange...
+  
+irix_hint_cc=`cc -version 2>&1`
+case "$irix_hint_cc" in
+*7.1*)
+       ccflags="$ccflags -OPT:Olimit=13000 -w"
+       optimize="-O2"
+       ;;
+*)
+       ccflags="$ccflags -Olimit 3000"
+       ;;
+esac
+unset irix_hint_cc
+
+pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
 
 # Gets rid of some extra libs that don't seem to be really needed.
 # See the Irix 6.2 hints file for some justifications.