diff --git a/doc/build-unix.md b/doc/build-unix.md index bf367fc4216b1..2e81bd01d3d12 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 -O2" Finally, clang (often less resource hungry) can be used instead of gcc, which is used by default: