diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-07-17 07:46:05 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-07-17 07:46:05 +0000 |
commit | 80589958147be1b203a8dbab685aa65994207e8a (patch) | |
tree | 3a6ec0a7da33149d8470ebe73f7724b6fb388dc2 /hints/aix.sh | |
parent | b19cab981461db85ad7c3a6e9d407581f6ee6f1c (diff) | |
download | perl-80589958147be1b203a8dbab685aa65994207e8a.tar.gz |
qmaxmem hint doesn't apply to gcc.
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index a9f277eed1..6377336089 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 |