From 68d95f12e72804068e47cda469a7e7cbc1df174d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 11 Feb 2009 20:02:40 +0000 Subject: Tweak configure to attempt to add -qnoansialias to CFLAGS whenever running on AIX with a non-gcc compiler. The previous coding would do this only if CC was exactly "xlc"; which is a bad idea, as demonstrated by trouble report from Mihai Criveti. --- src/template/aix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/template/aix b/src/template/aix index 94ad2f61758..04c97e7bd14 100644 --- a/src/template/aix +++ b/src/template/aix @@ -1,3 +1,6 @@ +# Set appropriate default compiler options if using xlc +# Note: configure will add -qnoansialias if the compiler accepts it, +# even if user specifies a non-default CFLAGS setting. if test "$GCC" != yes ; then case $host_os in aix3.2.5 | aix4.1*) -- cgit v1.2.3