mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge bitcoin/bitcoin#31819: doc: swap CPPFLAGS for APPEND_CPPFLAGS
Some checks are pending
CI / test each commit (push) Waiting to run
CI / macOS 14 native, arm64, no depends, sqlite only, gui (push) Waiting to run
CI / macOS 14 native, arm64, fuzz (push) Waiting to run
CI / Win64 native, VS 2022 (push) Waiting to run
CI / Win64 native fuzz, VS 2022 (push) Waiting to run
CI / ASan + LSan + UBSan + integer, no depends, USDT (push) Waiting to run
Some checks are pending
CI / test each commit (push) Waiting to run
CI / macOS 14 native, arm64, no depends, sqlite only, gui (push) Waiting to run
CI / macOS 14 native, arm64, fuzz (push) Waiting to run
CI / Win64 native, VS 2022 (push) Waiting to run
CI / Win64 native fuzz, VS 2022 (push) Waiting to run
CI / ASan + LSan + UBSan + integer, no depends, USDT (push) Waiting to run
ea687d2029
doc: swap CPPFLAGS for APPEND_CPPFLAGS (fanquake) Pull request description: `APPEND_CPPFLAGS` will be understood by our CMake, whereas `CPPFLAGS` will not. Attempting what is currently documented will just give: ```bash CMake Warning: Ignoring extra path from command line: "CPPFLAGS=-DDEBUG_LOCKCONTENTION" ``` ACKs for top commit: fjahr: ACKea687d2029
hebasto: ACKea687d2029
. Tree-SHA512: b8d3359b77a813535a4fa715619b815cd88e5440950f7d4cd045514e6b45d3f1c7f62061315c8581d0a99c0aec38340d34008be05657d198d868b241d19b7828
This commit is contained in:
commit
1d813e4bf5
1 changed files with 2 additions and 2 deletions
|
@ -432,8 +432,8 @@ RPC that, when enabled, logs the location and duration of each lock contention
|
|||
to the `debug.log` file.
|
||||
|
||||
The `-DCMAKE_BUILD_TYPE=Debug` build option adds `-DDEBUG_LOCKCONTENTION` to the
|
||||
compiler flags. You may also enable it manually by building with `-DDEBUG_LOCKCONTENTION` added to your CPPFLAGS,
|
||||
i.e. `CPPFLAGS="-DDEBUG_LOCKCONTENTION"`, then build and run bitcoind.
|
||||
compiler flags. You may also enable it manually by building with `-DDEBUG_LOCKCONTENTION`
|
||||
added to your CPPFLAGS, i.e. `-DAPPEND_CPPFLAGS="-DDEBUG_LOCKCONTENTION"`.
|
||||
|
||||
You can then use the `-debug=lock` configuration option at bitcoind startup or
|
||||
`bitcoin-cli logging '["lock"]'` at runtime to turn on lock contention logging.
|
||||
|
|
Loading…
Add table
Reference in a new issue