X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Faix.sh;h=bca6eb702205788234416a10abfba25587712d0e;hb=8e07c86ebc651fe92eb7e3b25f801f57cfb8dd6f;hp=1e8b3124c4c54258ba7c46436cfcaef6a08f96ef;hpb=e50aee73b3d4c555c37e4b4a16694765fb16c887;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/aix.sh b/hints/aix.sh index 1e8b312..bca6eb7 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -32,10 +32,14 @@ case "$osvers" in d_setreuid='undef' ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE' nm_opt='-B' - scope_cflags='optimize=" "' ;; esac +# The optimizer in 4.1.1 apparently generates bad code for scope.c. +# Configure doesn't offer an easy way to propagate extra variables +# only for certain cases, so the following contortion is required: +scope_cflags='case "$osvers" in 4.1*) optimize=" ";; esac' + # Changes for dynamic linking by Wayne Scott # # Tell perl which symbols to export for dynamic linking.