diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-20 14:58:17 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-04-23 13:05:10 +0200 |
commit | 3e0d1255cdf428fb4b7d2381fb82f8db0a0e8bf3 (patch) | |
tree | b0af34fab7614517cabc3b2a87ae789cc24b1907 /CC/RULES | |
parent | 5b7031c42ad40d462f1652e4565efcca434a5f61 (diff) | |
download | rules-cc-3e0d1255cdf428fb4b7d2381fb82f8db0a0e8bf3.tar.gz |
rules CC: Use the -g flag as fallback in debug mode...
...if no flags are otherwise configured (by toolchain or
rule-specific configuration variables).
Diffstat (limited to 'CC/RULES')
-rw-r--r-- | CC/RULES | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -552,7 +552,10 @@ , "If None, the respective value from [\"CC\", \"defaults\"] will be taken." ] , "ENV": ["The environment for any action generated."] - , "DEBUG": ["Compute the debug-stage, needed for local debugging."] + , "DEBUG": + [ "Compute the debug-stage, needed for local debugging." + , "If no compile flags are otherwise configured, [\"-g\"] will be taken." + ] , "LINT": [ "Also provide nodes describing compile actions and header files;" , "those can be used by lint rules (doing also the config transition)" @@ -752,7 +755,10 @@ , "taken from the [\"CC\", \"defaults\"] target" ] , "ENV": ["The environment for any action generated."] - , "DEBUG": ["Compute the debug-stage, needed for local debugging."] + , "DEBUG": + [ "Compute the debug-stage, needed for local debugging." + , "If no compile flags are otherwise configured, [\"-g\"] will be taken." + ] , "LINT": [ "Also provide nodes describing compile actions and header files;" , "those can be used by lint rules (doing also the config transition)" |