From: Jarkko Hietaniemi Date: Mon, 28 Feb 2000 20:11:59 +0000 (+0000) Subject: Do not add -Ae for gcc. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6cc5f3e7559c04024f9a50632845af7b1516d5df;p=p5sagit%2Fp5-mst-13.2.git Do not add -Ae for gcc. p4raw-id: //depot/cfgperl@5328 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index dc1c3d8..ae905b3 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -98,6 +98,7 @@ EOM #optimize='+O3' #cccdlflags='+z +O2' optimize='-O' + cc=cc ;; esac @@ -176,7 +177,11 @@ esac' echo "(Changing from strict ANSI compilation to extended because of 64-bitness)" ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'` ;; - *) ccflags="$ccflags -Ae" ;; + *) case `$cc -v 2>&1`"" in + *gcc*) ;; + *) ccflags="$ccflags -Ae" ;; + esac + ;; esac set `echo " $libswanted " | sed -e 's@ dl @ @'` @@ -363,7 +368,11 @@ case "$uselargefiles" in echo "(Changing from strict ANSI compilation to extended because of large files)" ccflags=`echo $ccflags|sed 's@ -Aa @ -Ae @'` ;; - *) ccflags="$ccflags -Ae" ;; + *) case `$cc -v 2>&1`"" in + *gcc*) ;; + *) ccflags="$ccflags -Ae" ;; + esac + ;; esac ;; esac