diff options
Diffstat (limited to 'hints')
-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 |