Skip to content

Commit

Permalink
doc: Override -g properly to skip debugging information
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Mar 28, 2024
1 parent c8e3978 commit 5a7ee37
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 -O2"

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

Expand Down

0 comments on commit 5a7ee37

Please sign in to comment.