Skip to content
Snippets Groups Projects
Commit 3ff1548d authored by Olivier Dion's avatar Olivier Dion
Browse files

Revert "configure: use -Og in debug mode"

This reverts commit d6e9bb84.

Some variables are optimized out with -Og.  -O0 doesn't have this problem.

Change-Id: Ief09d2d3659260aa8151dbfe8951dc11777bb79b
parent 999590a3
Branches
No related tags found
No related merge requests found
...@@ -34,9 +34,9 @@ AC_ARG_ENABLE([debug], ...@@ -34,9 +34,9 @@ AC_ARG_ENABLE([debug],
AS_IF([test "x$enable_debug" = "xyes"], AS_IF([test "x$enable_debug" = "xyes"],
[DAEMONCFLAGS+=" -g -fno-omit-frame-pointer -Wall -Wextra -Wnon-virtual-dtor \ [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 \ 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" [DAEMONCFLAGS+=" -DNDEBUG=1 -O3"
DAEMONCXXFLAGS+=" -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