diff options
| author | Bruce Momjian <bruce@momjian.us> | 2006-04-27 14:27:04 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2006-04-27 14:27:04 +0000 |
| commit | 0a6990e4dcfd91d9c496f3f478075cebd630da7a (patch) | |
| tree | f2a33a8298f0fb301682db5d348d46fdd9116277 /configure.in | |
| parent | 203592dd8843679d87a21aa2333a201fec0c5f35 (diff) | |
| download | postgresql-0a6990e4dcfd91d9c496f3f478075cebd630da7a.tar.gz | |
Turn off strict aliasing when using AIX xlc compiler.
autoconf run.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5dc39b7905..c5dc8c4fa5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.460 2006/04/22 00:29:41 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.461 2006/04/27 14:27:04 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -267,6 +267,9 @@ choke me # Disable strict-aliasing rules; needed for gcc 3.3+ PGAC_PROG_CC_CFLAGS_OPT([-fno-strict-aliasing]) +elif test ${CC} = "xlc"; then + # AIX xlc has to have strict aliasing turned off too + PGAC_PROG_CC_CFLAGS_OPT([-qnoansialias]) fi # supply -g if --enable-debug |
