forked from mirrors/linphone-iphone
Disable optims in debug mode
Autoconf uses "-g -O2" by default.
This commit is contained in:
parent
f5db8bf6af
commit
00815d4fed
1 changed files with 3 additions and 3 deletions
|
|
@ -427,9 +427,9 @@ AC_ARG_ENABLE(debug,
|
|||
)
|
||||
AS_CASE([$debug_enabled],
|
||||
[yes],[
|
||||
CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -g -DDEBUG"
|
||||
OBJCFLAGS="$OBJCFLAGS -g -DDEBUG"
|
||||
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -g -O0 -DDEBUG"
|
||||
OBJCFLAGS="$OBJCFLAGS -g -O0 -DDEBUG"
|
||||
],
|
||||
[no],
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue