fix CFLAGS preservation

This commit is contained in:
gbeauche 2005-05-13 11:13:26 +00:00
parent d91e8b2a8f
commit 745bc86678

View File

@ -1118,7 +1118,7 @@ fi
dnl Add -fno-strict-aliasing for slirp sources
if [[ "x$HAVE_GCC30" = "xyes" ]]; then
SAVED_CXXFLAGS="$CXXFLAGS"
SAVED_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-strict-aliasing"
AC_CACHE_CHECK([whether the compiler supports -fno-strict-aliasing],
ac_cv_gcc_no_strict_aliasing, [