mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-13 11:25:02 -05:00
doc: Override -g
properly to skip debugging information
This commit is contained in:
parent
c8e3978114
commit
f8f5cece4d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ tuned to conserve memory with additional CXXFLAGS:
|
||||||
Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
|
Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
|
||||||
`-g -O2`, and can be changed with:
|
`-g -O2`, and can be changed with:
|
||||||
|
|
||||||
./configure CXXFLAGS="-O2"
|
./configure CXXFLAGS="-g0"
|
||||||
|
|
||||||
Finally, clang (often less resource hungry) can be used instead of gcc, which is used by default:
|
Finally, clang (often less resource hungry) can be used instead of gcc, which is used by default:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue