there's no end to tweaking
[p5sagit/p5-mst-13.2.git] / hints / hpux.sh
index 9798a5b..4a22643 100644 (file)
@@ -392,12 +392,16 @@ case "$uselargefiles" in
        # but we cheat for now.
        ccflags="$ccflags -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 
-        # The strict ANSI mode (-Aa) doesn't like large files.
-        ccflags=`echo " $ccflags "|sed 's@ -Aa @ @g'`
-        case "$ccflags" in
-        *-Ae*) ;;
-        *) ccflags="$ccflags -Ae" ;;
-        esac
+        case "$ccisgcc" in
+        "$define") ;;
+        *) # The strict ANSI mode (-Aa) doesn't like large files.
+           ccflags=`echo " $ccflags "|sed 's@ -Aa @ @g'`
+           case "$ccflags" in
+           *-Ae*) ;;
+           *) ccflags="$ccflags -Ae" ;;
+           esac
+          ;;
+       esac
 
        ;;
 esac