Skip to content

Commit 00c1e2a

Browse files
committed
build: fix optimisation flags used for --coverage
-O0 is just overriding -Og.
1 parent 1dc2c9b commit 00c1e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ if test "$use_lcov" = "yes"; then
862862
[AC_MSG_ERROR([lcov testing requested but --coverage linker flag does not work])])
863863
AX_CHECK_COMPILE_FLAG([--coverage],[CORE_CXXFLAGS="$CORE_CXXFLAGS --coverage"],
864864
[AC_MSG_ERROR([lcov testing requested but --coverage flag does not work])])
865-
CORE_CXXFLAGS="$CORE_CXXFLAGS -Og -O0"
865+
CORE_CXXFLAGS="$CORE_CXXFLAGS -Og"
866866
fi
867867

868868
if test "$use_lcov_branch" != "no"; then

0 commit comments

Comments
 (0)