mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
AIX: Test the -qlonglong option before use.
xlc provides "long long" unconditionally at C99-compatible language
levels, and this option provokes a warning. The warning interferes with
"configure" tests that fail in response to any warning. Notably, before
commit 85a2a8903f
, it interfered with the
test for -qnoansialias. Back-patch to 9.0 (all supported versions).
This commit is contained in:
@ -447,6 +447,7 @@ elif test "$ICC" = yes; then
|
||||
elif test "$PORTNAME" = "aix"; then
|
||||
# AIX's xlc has to have strict aliasing turned off too
|
||||
PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias])
|
||||
PGAC_PROG_CC_CFLAGS_OPT([-qlonglong])
|
||||
fi
|
||||
|
||||
# supply -g if --enable-debug
|
||||
|
Reference in New Issue
Block a user