diff options
author | Tom Lane | 2004-02-02 04:07:18 +0000 |
---|---|---|
committer | Tom Lane | 2004-02-02 04:07:18 +0000 |
commit | 6f295328e57e9d8cf637fad1a3d40b1fc9624eec (patch) | |
tree | 2b8d66d9872fc092dc20c002f10aeedc692a2a43 /config/c-compiler.m4 | |
parent | 9fe097577e0f3fac916c5df8024e3cc27e1f35cd (diff) |
Do not let external specification of CFLAGS stop us from adding
-fno-strict-aliasing.
Diffstat (limited to 'config/c-compiler.m4')
-rw-r--r-- | config/c-compiler.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4 index 269b4e74dc7..2acd3cd04af 100644 --- a/config/c-compiler.m4 +++ b/config/c-compiler.m4 @@ -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 |