This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
qmaxmem hint doesn't apply to gcc.
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Wed, 17 Jul 1996 07:46:05 +0000 (07:46 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Wed, 17 Jul 1996 07:46:05 +0000 (07:46 +0000)
hints/aix.sh

index a9f277e..6377336 100644 (file)
@@ -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