doc: Override `-g` properly to skip debugging information

This commit is contained in:
Hennadii Stepanov 2024-03-28 11:40:31 +00:00
parent c8e3978114
commit f8f5cece4d
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
1 changed files with 1 additions and 1 deletions

View File

@ -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: