diff options
| author | Tom Lane | 2007-09-11 19:50:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-09-11 19:50:25 +0000 |
| commit | 861f7357b9afbe64a0d9216d2ebb1925ab1dbd4a (patch) | |
| tree | 965546c3158da51e84f843b51537df0704ca9308 /configure | |
| parent | 16f8a9e4e1986d570069d7595b1548cda3d0dd2a (diff) | |
Give ICC its preferred, documented form of the no-strict-aliasing
switch, viz '-fno-alias'. Since we have a separate code path here
anyway, it's just as easy to cooperate.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure index f814cfb1548..4a88b724c31 100755 --- a/configure +++ b/configure @@ -3120,11 +3120,11 @@ echo "${ECHO_T}no" >&6 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - # Not clear if this is needed, but seems like a good idea - echo "$as_me:$LINENO: checking if $CC supports -fno-strict-aliasing" >&5 -echo $ECHO_N "checking if $CC supports -fno-strict-aliasing... $ECHO_C" >&6 + # ICC prefers to spell the no-strict-aliasing switch like this + echo "$as_me:$LINENO: checking if $CC supports -fno-alias" >&5 +echo $ECHO_N "checking if $CC supports -fno-alias... $ECHO_C" >&6 pgac_save_CFLAGS=$CFLAGS -CFLAGS="$pgac_save_CFLAGS -fno-strict-aliasing" +CFLAGS="$pgac_save_CFLAGS -fno-alias" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF |
