summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-06-19 12:59:00 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-06-19 12:59:00 +0200
commitc19cc42358baf78aa409835591128bb89f90a9c7 (patch)
tree86f4b41a32272b248255c9b456d25c50b5c17426
parentd8bc5a10b5cd97fb69c3e05d93884986d566dc60 (diff)
parentb4d1cbc8d77bdffaeab6b01edf5f54eeeb1b81d3 (diff)
downloadrules-cc-c19cc42358baf78aa409835591128bb89f90a9c7.tar.gz
Merge commit 'b4d1cbc8d77bdffaeab6b01edf5f54eeeb1b81d3' into HEAD
-rw-r--r--rules/CC/EXPRESSIONS11
1 files changed, 8 insertions, 3 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS
index 0e1e4b9..938c342 100644
--- a/rules/CC/EXPRESSIONS
+++ b/rules/CC/EXPRESSIONS
@@ -2279,9 +2279,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"}
}