diff options
| author | Noah Misch | 2015-07-17 07:01:14 +0000 |
|---|---|---|
| committer | Noah Misch | 2015-07-17 07:01:14 +0000 |
| commit | 43d89a23d59c487bc9258fad7a6187864cb8c0c0 (patch) | |
| tree | 653d60771dd32b406d55c51a7cd6c50d847a5fa3 /configure.in | |
| parent | 9d6077abf9d6efd992a59f05ef5aba981ea32096 (diff) | |
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 85a2a8903f7e9151793308d0638621003aded5ae, it interfered with the
test for -qnoansialias. Back-patch to 9.0 (all supported versions).
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 5724a4df07..ece5e22751 100644 --- a/configure.in +++ b/configure.in @@ -461,6 +461,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]) elif test "$PORTNAME" = "hpux"; then # On some versions of HP-UX, libm functions do not set errno by default. # Fix that by using +Olibmerrno if the compiler recognizes it. |
