aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-12-06 14:44:42 -0800
committerMarcoFalke <falke.marco@gmail.com>2020-02-10 05:34:11 -0800
commitfaf2c5aca01643eb560287e08f9c0a7ca0ac9c88 (patch)
tree3f9b217c5ba64de26d3bf4f92702a9da93ff0fe2
parentab7915f804b776c68ae017d55506c66af533f5a0 (diff)
downloadbitcoin-faf2c5aca01643eb560287e08f9c0a7ca0ac9c88.tar.xz
build: Remove unused USE_COVERAGE
-rw-r--r--build_msvc/bitcoin_config.h3
-rw-r--r--configure.ac1
2 files changed, 0 insertions, 4 deletions
diff --git a/build_msvc/bitcoin_config.h b/build_msvc/bitcoin_config.h
index 3178f2a3d8..f7209e6360 100644
--- a/build_msvc/bitcoin_config.h
+++ b/build_msvc/bitcoin_config.h
@@ -313,9 +313,6 @@
/* Define this symbol to build in assembly routines */
//#define USE_ASM 1
-/* Define this symbol if coverage is enabled */
-/* #undef USE_COVERAGE */
-
/* Define if dbus support should be compiled in */
/* #undef USE_DBUS */
diff --git a/configure.ac b/configure.ac
index dc233c8423..f09cdb14a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -641,7 +641,6 @@ if test x$use_lcov = xyes; then
[AC_MSG_ERROR("lcov testing requested but --coverage linker flag does not work")])
AX_CHECK_COMPILE_FLAG([--coverage],[CXXFLAGS="$CXXFLAGS --coverage"],
[AC_MSG_ERROR("lcov testing requested but --coverage flag does not work")])
- AC_DEFINE(USE_COVERAGE, 1, [Define this symbol if coverage is enabled])
CXXFLAGS="$CXXFLAGS -Og"
fi