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
2012-03-20 11:56:29 -04:00
parent f1d80cd25d
commit e560ddccde
33 changed files with 105 additions and 105 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1 -DHAVE_DLOPEN=1'
for i in *.c; do
if test $i != 'keywordhash.c'; then
CMD="cc -fPIC $OPTS -O2 -I. -I$TCLDIR -c $i"
CMD="cc -fPIC $OPTS -O0 -I. -I$TCLDIR -c $i"
echo $CMD
$CMD
fi