diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-04-25 15:05:10 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-05-23 14:49:56 +0200 |
commit | 3799c3d77b4d9e40aa2dc4190ca4aaa0bdd61d6d (patch) | |
tree | 6f1305f565e75df6d2d666fad42796d3aff68fb7 /doc | |
parent | 413f5637db3690686aecb8c7d5ae3d67e077a941 (diff) | |
download | justbuild-3799c3d77b4d9e40aa2dc4190ca4aaa0bdd61d6d.tar.gz |
tutorial debugging: Use ADD_COMPILE_FLAGS
...instead of replacing CFLAGS and CXXFLAGS, thus also fixing a
mismatch introduced in c008c07656fff528c80add260397c7c7702aa2a8.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tutorial/debugging.md | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/tutorial/debugging.md b/doc/tutorial/debugging.md index eae070b6..f9851f50 100644 --- a/doc/tutorial/debugging.md +++ b/doc/tutorial/debugging.md @@ -29,17 +29,7 @@ flags) for our example project. This can be done by extending the existing , "arguments_config": ["DEBUG"] , "CC": ["cc"] , "CXX": ["c++"] - , "CFLAGS": - { "type": "++" - , "$1": - [ ["-O2", "-Wall"] - , { "type": "if" - , "cond": {"type": "var", "name": "DEBUG"} - , "then": ["-g"] - } - ] - } - , "CXXFLAGS": + , "ADD_COMPILE_FLAGS": { "type": "++" , "$1": [ ["-O2", "-Wall"] |