summaryrefslogtreecommitdiff
path: root/src/template/aix
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-02-11 20:02:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-02-11 20:02:40 +0000
commit68d95f12e72804068e47cda469a7e7cbc1df174d (patch)
treefdbb14a6725453b8cfb94b7133fc43ed571c8e25 /src/template/aix
parent787020fd3d6093a55e681495fb0e5ccbd57fa968 (diff)
downloadpostgresql-68d95f12e72804068e47cda469a7e7cbc1df174d.tar.gz
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.
Diffstat (limited to 'src/template/aix')
-rw-r--r--src/template/aix3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/template/aix b/src/template/aix
index 94ad2f6175..04c97e7bd1 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*)