Commit 6f295328 authored by Tom Lane's avatar Tom Lane

Do not let external specification of CFLAGS stop us from adding

-fno-strict-aliasing.
parent 9fe09757
# Macros to detect C compiler features # 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 # PGAC_C_SIGNED
...@@ -146,7 +146,7 @@ done ...@@ -146,7 +146,7 @@ done
CFLAGS=$pgac_save_CFLAGS 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" CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
fi])# PGAC_PROG_CC_NO_STRICT_ALIASING fi])# PGAC_PROG_CC_NO_STRICT_ALIASING
......
...@@ -2488,7 +2488,7 @@ fi ...@@ -2488,7 +2488,7 @@ fi
echo "$as_me:$LINENO: result: $pgac_cv_prog_cc_no_strict_aliasing" >&5 echo "$as_me:$LINENO: result: $pgac_cv_prog_cc_no_strict_aliasing" >&5
echo "${ECHO_T}$pgac_cv_prog_cc_no_strict_aliasing" >&6 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" CFLAGS="$CFLAGS $pgac_cv_prog_cc_no_strict_aliasing"
fi fi
...@@ -2502,7 +2502,7 @@ echo "$as_me: using CFLAGS=$CFLAGS" >&6;} ...@@ -2502,7 +2502,7 @@ echo "$as_me: using CFLAGS=$CFLAGS" >&6;}
# We already have this in Makefile.win32, but configure needs it too # We already have this in Makefile.win32, but configure needs it too
if test "$PORTNAME" = "win32"; then if test "$PORTNAME" = "win32"; then
CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32 -DEXEC_BACKEND" CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32"
fi fi
# Check if the compiler still works with the template settings # Check if the compiler still works with the template settings
...@@ -12079,7 +12079,6 @@ esac ...@@ -12079,7 +12079,6 @@ esac
case $host_os in mingw*) case $host_os in mingw*)
LIBOBJS="$LIBOBJS dirmod.$ac_objext" LIBOBJS="$LIBOBJS dirmod.$ac_objext"
LIBOBJS="$LIBOBJS copydir.$ac_objext" LIBOBJS="$LIBOBJS copydir.$ac_objext"
LIBOBJS="$LIBOBJS rand.$ac_objext"
LIBOBJS="$LIBOBJS gettimeofday.$ac_objext" LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
LIBOBJS="$LIBOBJS pipe.$ac_objext" ;; LIBOBJS="$LIBOBJS pipe.$ac_objext" ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment