mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
Revert "configure: use -Og in debug mode"
This reverts commit d6e9bb8423
.
Some variables are optimized out with -Og. -O0 doesn't have this problem.
Change-Id: Ief09d2d3659260aa8151dbfe8951dc11777bb79b
This commit is contained in:
@ -34,9 +34,9 @@ AC_ARG_ENABLE([debug],
|
||||
|
||||
AS_IF([test "x$enable_debug" = "xyes"],
|
||||
[DAEMONCFLAGS+=" -g -fno-omit-frame-pointer -Wall -Wextra -Wnon-virtual-dtor \
|
||||
-Wno-unknown-pragmas -Wformat=2 -Og"
|
||||
-Wno-unknown-pragmas -Wformat=2 -O0"
|
||||
DAEMONCXXFLAGS+=" -g -fno-omit-frame-pointer -Wall -Wextra -Wnon-virtual-dtor \
|
||||
-Wno-unknown-pragmas -Wformat=2 -Og"],
|
||||
-Wno-unknown-pragmas -Wformat=2 -O0"],
|
||||
[DAEMONCFLAGS+=" -DNDEBUG=1 -O3"
|
||||
DAEMONCXXFLAGS+=" -DNDEBUG=1 -O3"])
|
||||
|
||||
|
Reference in New Issue
Block a user