diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-06-19 10:57:52 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-06-19 12:12:40 +0200 |
commit | 96158f57c36bbc649abcd9a213bf04df6cf8a1f5 (patch) | |
tree | 5c14080c7a6b69c4c5425be7bf9fc11a3157b8dd /rules | |
parent | 351bafefc45727d6f45579397d71a542a84807d9 (diff) | |
download | justbuild-96158f57c36bbc649abcd9a213bf04df6cf8a1f5.tar.gz |
rules-cc: Binaries should keep the compile dependency headers for debuggingv1.4.0-alpha+20240619
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/EXPRESSIONS | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS index f3188c0d..c7ee9e04 100644 --- a/rules/CC/EXPRESSIONS +++ b/rules/CC/EXPRESSIONS @@ -1475,9 +1475,14 @@ , { "type": "if" , "cond": {"type": "var", "name": "DEBUG"} , "then": - { "type": "let*" - , "bindings": [["deps-provider", "debug-hdrs"]] - , "body": {"type": "CALL_EXPRESSION", "name": "debug-deps"} + { "type": "map_union" + , "$1": + [ { "type": "let*" + , "bindings": [["deps-provider", "debug-hdrs"]] + , "body": {"type": "CALL_EXPRESSION", "name": "debug-deps"} + } + , {"type": "var", "name": "compile-deps"} + ] } , "else": {"type": "empty_map"} } |