Skip to content

Commit

Permalink
Merge #29756: doc: Override -g properly to skip debugging information
Browse files Browse the repository at this point in the history
f8f5cec doc: Override `-g` properly to skip debugging information (Hennadii Stepanov)

Pull request description:

  Fix #29755.

ACKs for top commit:
  TheCharlatan:
    ACK f8f5cec

Tree-SHA512: 02bff5fc41859deb914531ef01ea1ac88ab2e138219fe175472962192b11feefe772128da03f466ec765c1b35b21eead31a42cc76e62ecb7ea5dc947cf568d61
  • Loading branch information
fanquake committed Apr 1, 2024
2 parents c7247bd + f8f5cec commit 90224fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/build-unix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 90224fb

Please sign in to comment.