aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-04-01 16:54:12 +0200
committerfanquake <fanquake@gmail.com>2024-04-01 16:54:44 +0200
commit90224fbf614e0e4c537ea90c2107b2567826167c (patch)
tree3b3dab55607a99e88c16761cf685207efe0f20d7
parentc7247bd9e80bc5599df5c8e26bb3c937cccc8db0 (diff)
parentf8f5cece4dfda5c614e087be75af074181a36c39 (diff)
downloadbitcoin-90224fbf614e0e4c537ea90c2107b2567826167c.tar.xz
Merge bitcoin/bitcoin#29756: doc: Override `-g` properly to skip debugging information
f8f5cece4dfda5c614e087be75af074181a36c39 doc: Override `-g` properly to skip debugging information (Hennadii Stepanov) Pull request description: Fix https://github.com/bitcoin/bitcoin/issues/29755. ACKs for top commit: TheCharlatan: ACK f8f5cece4dfda5c614e087be75af074181a36c39 Tree-SHA512: 02bff5fc41859deb914531ef01ea1ac88ab2e138219fe175472962192b11feefe772128da03f466ec765c1b35b21eead31a42cc76e62ecb7ea5dc947cf568d61
-rw-r--r--doc/build-unix.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index 94404a6d0d..de54fb4eeb 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -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
`-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: