1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Do not let external specification of CFLAGS stop us from adding

-fno-strict-aliasing.
This commit is contained in:
Tom Lane
2004-02-02 04:07:18 +00:00
parent 9fe097577e
commit 6f295328e5
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# Macros to detect C compiler features
# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.11 2003/11/29 19:51:17 pgsql Exp $
# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.12 2004/02/02 04:07:18 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