Skip to content

Commit f8f5cec

Browse files
committed
doc: Override -g properly to skip debugging information
1 parent c8e3978 commit f8f5cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/build-unix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tuned to conserve memory with additional CXXFLAGS:
3030
Alternatively, or in addition, debugging information can be skipped for compilation. The default compile flags are
3131
`-g -O2`, and can be changed with:
3232

33-
./configure CXXFLAGS="-O2"
33+
./configure CXXFLAGS="-g0"
3434

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

0 commit comments

Comments
 (0)