diff options
| author | Bruce Momjian | 2006-04-29 00:51:41 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-04-29 00:51:41 +0000 |
| commit | 61091ec267ba651f6ba5c3b606cdf4b09883b8f6 (patch) | |
| tree | 9f4b85bdaee9962c08d7bc0d025b75bb81bc6fb7 /configure.in | |
| parent | a1ee6215893ca41d8c348acf7f9e5c675245c543 (diff) | |
Intel compiler has a bug/misoptimization in checking for division by NAN
(NaN == 0), -mp1 fixes it, so add it to the CFLAGS. Autoconf run.
Jeremy Drake
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c5dc8c4fa5c..f35cdd6b7e5 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.461 2006/04/27 14:27:04 momjian Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.462 2006/04/29 00:51:41 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -263,6 +263,11 @@ choke me # Check whether they are supported, and add them to CFLAGS if so. PGAC_PROG_CC_CFLAGS_OPT([-Wdeclaration-after-statement]) PGAC_PROG_CC_CFLAGS_OPT([-Wendif-labels]) + else + # Intel compiler has a bug/misoptimization in checking for + # division by NAN (NaN == 0), -mp1 fixes it, so add it to the + # CFLAGS. + PGAC_PROG_CC_CFLAGS_OPT([-mp1]) fi # Disable strict-aliasing rules; needed for gcc 3.3+ |
