Skip to content

Commit 90224fb

Browse files
committed
Merge bitcoin/bitcoin#29756: doc: Override -g properly to skip debugging information
f8f5cec doc: Override `-g` properly to skip debugging information (Hennadii Stepanov) Pull request description: Fix bitcoin/bitcoin#29755. ACKs for top commit: TheCharlatan: ACK f8f5cec Tree-SHA512: 02bff5fc41859deb914531ef01ea1ac88ab2e138219fe175472962192b11feefe772128da03f466ec765c1b35b21eead31a42cc76e62ecb7ea5dc947cf568d61
2 parents c7247bd + f8f5cec commit 90224fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/build-unix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tuned to conserve memory with additional CXXFLAGS:
3030
Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
3131
`-g -O2`, and can be changed with:
3232

33-
./configure CXXFLAGS="-O2"
33+
./configure CXXFLAGS="-g0"
3434

3535
Finally, clang (often less resource hungry) can be used instead of gcc, which is used by default:
3636

0 commit comments

Comments
 (0)