From: Perl 5 Porters Date: Wed, 17 Jul 1996 07:46:05 +0000 (+0000) Subject: qmaxmem hint doesn't apply to gcc. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=80589958147be1b203a8dbab685aa65994207e8a;p=p5sagit%2Fp5-mst-13.2.git qmaxmem hint doesn't apply to gcc. --- diff --git a/hints/aix.sh b/hints/aix.sh index a9f277e..6377336 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -32,7 +32,11 @@ case "$osvers" in *) # These hints at least work for 4.x, possibly other systems too. d_setregid='undef' d_setreuid='undef' - ccflags='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE' + ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE' + case "$cc" in + *gcc*) ;; + *) ccflags="-qmaxmem=8192 $ccflags" ;; + esac nm_opt='-B' ;; esac