mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
build: fix optimisation flags used for --coverage
-O0 is just overriding -Og.
This commit is contained in:
parent
1dc2c9b385
commit
00c1e2aa44
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ if test "$use_lcov" = "yes"; then
|
|||
[AC_MSG_ERROR([lcov testing requested but --coverage linker flag does not work])])
|
||||
AX_CHECK_COMPILE_FLAG([--coverage],[CORE_CXXFLAGS="$CORE_CXXFLAGS --coverage"],
|
||||
[AC_MSG_ERROR([lcov testing requested but --coverage flag does not work])])
|
||||
CORE_CXXFLAGS="$CORE_CXXFLAGS -Og -O0"
|
||||
CORE_CXXFLAGS="$CORE_CXXFLAGS -Og"
|
||||
fi
|
||||
|
||||
if test "$use_lcov_branch" != "no"; then
|
||||
|
|
Loading…
Add table
Reference in a new issue