summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-17 07:46:05 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-07-17 07:46:05 +0000
commit80589958147be1b203a8dbab685aa65994207e8a (patch)
tree3a6ec0a7da33149d8470ebe73f7724b6fb388dc2
parentb19cab981461db85ad7c3a6e9d407581f6ee6f1c (diff)
downloadperl-80589958147be1b203a8dbab685aa65994207e8a.tar.gz
qmaxmem hint doesn't apply to gcc.
-rw-r--r--hints/aix.sh6
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