1
0
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:
Noah Misch
2015-07-17 03:01:14 -04:00
parent 9d6077abf9
commit 43d89a23d5
3 changed files with 37 additions and 1 deletions

View File

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