Skip to content

Commit ea687d2

Browse files
committed
doc: swap CPPFLAGS for APPEND_CPPFLAGS
APPEND_CPPFLAGS will be understood by our CMake, whereas CPPFLAGS will not.
1 parent 81eb6cc commit ea687d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/developer-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ RPC that, when enabled, logs the location and duration of each lock contention
432432
to the `debug.log` file.
433433

434434
The `-DCMAKE_BUILD_TYPE=Debug` build option adds `-DDEBUG_LOCKCONTENTION` to the
435-
compiler flags. You may also enable it manually by building with `-DDEBUG_LOCKCONTENTION` added to your CPPFLAGS,
436-
i.e. `CPPFLAGS="-DDEBUG_LOCKCONTENTION"`, then build and run bitcoind.
435+
compiler flags. You may also enable it manually by building with `-DDEBUG_LOCKCONTENTION`
436+
added to your CPPFLAGS, i.e. `-DAPPEND_CPPFLAGS="-DDEBUG_LOCKCONTENTION"`.
437437

438438
You can then use the `-debug=lock` configuration option at bitcoind startup or
439439
`bitcoin-cli logging '["lock"]'` at runtime to turn on lock contention logging.

0 commit comments

Comments
 (0)