freeswitch: taking out -Ox cflags and have them replaced with -O0

we dont want to optimize out symbols for debugging
This commit is contained in:
James Zhang committed 2012-03-20 11:56:29 -04:00
1 parent f1d80cd25d
commit e560ddccde
33 files changed
+105 -105

No files matched your search

+9 -9
View File
@@ -3222,13 +3222,13 @@ if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
CFLAGS="-g -O0"
else
CFLAGS="-g"
CFLAGS="-g -O0"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
CFLAGS="-O0"
else
CFLAGS=
fi
@@ -5579,13 +5579,13 @@ if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
CXXFLAGS="-g -O2"
CXXFLAGS="-g -O0"
else
CXXFLAGS="-g"
CXXFLAGS="-g -O0"
fi
else
if test "$GXX" = yes; then
CXXFLAGS="-O2"
CXXFLAGS="-O0"
else
CXXFLAGS=
fi
@@ -6180,13 +6180,13 @@ if test "$ac_test_FFLAGS" = set; then
FFLAGS=$ac_save_FFLAGS
elif test $ac_cv_prog_f77_g = yes; then
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
FFLAGS="-g -O2"
FFLAGS="-g -O0"
else
FFLAGS="-g"
FFLAGS="-g -O0"
fi
else
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
FFLAGS="-O2"
FFLAGS="-O0"
else
FFLAGS=
fi