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:
@ -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*)
|
||||
|
Reference in New Issue
Block a user