mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
8
configure
vendored
8
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user