mirror of
https://github.com/postgres/postgres.git
synced 2025-07-17 06:41:09 +03:00
Do not let external specification of CFLAGS stop us from adding
-fno-strict-aliasing.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# Macros to detect C compiler features
|
||||
# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.10 2003/11/01 20:48:51 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/config/c-compiler.m4,v 1.10.2.1 2004/02/02 04:07:40 tgl Exp $
|
||||
|
||||
|
||||
# PGAC_C_SIGNED
|
||||
@ -146,7 +146,7 @@ done
|
||||
CFLAGS=$pgac_save_CFLAGS
|
||||
])
|
||||
|
||||
if test "$ac_env_CFLAGS_set" != set; then
|
||||
if test x"$pgac_cv_prog_cc_no_strict_aliasing" != x""; then
|
||||
CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
|
||||
fi])# PGAC_PROG_CC_NO_STRICT_ALIASING
|
||||
|
||||
|
2
configure
vendored
2
configure
vendored
@ -2471,7 +2471,7 @@ fi
|
||||
echo "$as_me:$LINENO: result: $pgac_cv_prog_cc_no_strict_aliasing" >&5
|
||||
echo "${ECHO_T}$pgac_cv_prog_cc_no_strict_aliasing" >&6
|
||||
|
||||
if test "$ac_env_CFLAGS_set" != set; then
|
||||
if test x"$pgac_cv_prog_cc_no_strict_aliasing" != x""; then
|
||||
CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user