mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
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:
1 parent
f1d80cd25d
commit
e560ddccde
33 files changed
+105
-105
No files matched your search
+7
-7
@@ -1263,7 +1263,7 @@ PORTAUDIO="$PACPP_ROOT/../portaudio"
|
||||
|
||||
PACPP_INC="$PACPP_ROOT/include"
|
||||
INCLUDES="-I$PACPP_INC -I$PORTAUDIO -I$PORTAUDIO/pa_common"
|
||||
CFLAGS="-g -O2 -Wall -ansi -pedantic $INCLUDES"
|
||||
CFLAGS="-g -O0 -Wall -ansi -pedantic $INCLUDES"
|
||||
CXXFLAGS="$CFLAGS"
|
||||
PALIBDIR="$PORTAUDIO/lib"
|
||||
|
||||
@@ -1908,13 +1908,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
|
||||
@@ -2350,13 +2350,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
|
||||
|
||||
Reference in new issue
Block a user