mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -7,7 +7,7 @@ if test "$GCC" != yes ; then
|
||||
CFLAGS="-O -qmaxmem=16384 -qsrcmsg"
|
||||
;;
|
||||
*)
|
||||
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg -qlonglong"
|
||||
CFLAGS="-O2 -qmaxmem=16384 -qsrcmsg"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Reference in New Issue
Block a user