aboutsummaryrefslogtreecommitdiff
path: root/doc/build-unix.md
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-03-28 11:40:31 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-03-28 11:50:12 +0000
commitf8f5cece4dfda5c614e087be75af074181a36c39 (patch)
treebc2c54083d7d1a19261d8615a53a15088a5b925e /doc/build-unix.md
parentc8e3978114716bb8fb10695b9d187652f3ab4926 (diff)
doc: Override `-g` properly to skip debugging information
Diffstat (limited to 'doc/build-unix.md')
-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 bf367fc421..12c5e3d80a 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: