mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-08 12:19:07 +02:00
build: fix optimisation flags used for --coverage
-O0 is just overriding -Og.
This commit is contained in:
parent
1dc2c9b385
commit
00c1e2aa44
@ -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…
x
Reference in New Issue
Block a user