Skip to content
Snippets Groups Projects
Commit d6e9bb84 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

configure: use -Og in debug mode

Change-Id: I29522f23419b2a3bb29265a73e8f2bcfcd2548f8
parent ef23ce0c
Branches
No related tags found
No related merge requests found
......@@ -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 -O0"
-Wno-unknown-pragmas -Wformat=2 -Og"
DAEMONCXXFLAGS+=" -g -fno-omit-frame-pointer -Wall -Wextra -Wnon-virtual-dtor \
-Wno-unknown-pragmas -Wformat=2 -O0"],
-Wno-unknown-pragmas -Wformat=2 -Og"],
[DAEMONCFLAGS+=" -DNDEBUG=1 -O3"
DAEMONCXXFLAGS+=" -DNDEBUG=1 -O3"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment