1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

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.
This commit is contained in:
Tom Lane
2009-02-11 20:02:40 +00:00
parent 787020fd3d
commit 68d95f12e7
3 changed files with 14 additions and 9 deletions

View File

@ -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*)