Commit 2cf16a20 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: really removed -Wdisabled-optimization this time.
parent a7c63dfe
......@@ -589,12 +589,6 @@ AC_CACHE_CHECK([if \$CC accepts -Wsign-compare],
[CFLAGS="-Wsign-compare ${CFLAGS_save}"
AC_TRY_COMPILE([],,ac_cv_c_Wsign_compare=yes, ac_cv_c_Wsign_compare=no)])
dnl Disabled as it is way too verbose on gcc-3.3
dnl AC_CACHE_CHECK([if \$CC accepts -Wdisabled-optimization],
dnl [ac_cv_c_Wdisabled_optimization],
dnl [CFLAGS="-Wdisabled-optimization ${CFLAGS_save}"
dnl AC_TRY_COMPILE([],,ac_cv_c_Wdisabled_optimization=yes, ac_cv_c_Wdisabled_optimization=no)])
AC_CACHE_CHECK([if \$CC accepts -Winline],
[ac_cv_c_Winline],
[CFLAGS="-Winline ${CFLAGS_save}"
......@@ -630,12 +624,6 @@ if test "${ac_cv_c_Wsign_compare}" != "no"; then
OBJCFLAGS_save="-Wsign-compare ${OBJCFLAGS_save}"; OBJCFLAGS="${OBJCFLAGS_save}"
fi
if test "${ac_cv_c_Wdisabled_optimization}" != "no"; then
CFLAGS_save="-Wdisabled-optimization ${CFLAGS_save}"; CFLAGS="${CFLAGS_save}"
CXXFLAGS_save="-Wdisabled-optimization ${CFLAGS_save}"; CXXFLAGS="${CXXFLAGS_save}"
OBJCFLAGS_save="-Wdisabled-optimization ${OBJCFLAGS_save}"; OBJCFLAGS="${OBJCFLAGS_save}"
fi
if test "${ac_cv_c_Winline}" != "no"; then
CFLAGS_save="-Winline ${CFLAGS_save}"; CFLAGS="${CFLAGS_save}"
OBJCFLAGS_save="-Winline ${OBJCFLAGS_save}"; OBJCFLAGS="${OBJCFLAGS_save}"
......
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