]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Do not let external specification of CFLAGS stop us from adding
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Feb 2004 04:07:40 +0000 (04:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Feb 2004 04:07:40 +0000 (04:07 +0000)
-fno-strict-aliasing.

config/c-compiler.m4
configure

index d5fdd2ff9e3f608c6a9a7e9442fe1a284cf74987..256830a881ac6abe202895e257199da466a3499a 100644 (file)
@@ -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
 
index 11861f9b7ecf93b7b8cb4544b50662cc4f273023..b7f3d2bab6f7dd7cbf77427af4e127da3152c35a 100755 (executable)
--- a/configure
+++ b/configure
@@ -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