summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 11:32:10 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 11:32:10 +0200
commit1fe18724449336286513ba90d506b57c63238242 (patch)
treef899c635c88aad84be17f5b09c93de8cb5339beb
parent7839edd67f7cf75aef195a4978c8a9b8b152c819 (diff)
downloadjustbuild-1fe18724449336286513ba90d506b57c63238242.tar.gz
CC/proto toolchain staging: add missing else
If we have a provided toolchain, we stage it to the corresponding subdirectory. Otherwise, we still have to provide a value of the correct type (a map) rather than the default else (which is the empty list).
-rw-r--r--rules/CC/proto/EXPRESSIONS1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/CC/proto/EXPRESSIONS b/rules/CC/proto/EXPRESSIONS
index d2705f16..118c41a0 100644
--- a/rules/CC/proto/EXPRESSIONS
+++ b/rules/CC/proto/EXPRESSIONS
@@ -122,6 +122,7 @@
, "subdir": {"type": "var", "name": "TOOLCHAIN_DIR"}
, "$1": {"type": "var", "name": "TOOLCHAIN"}
}
+ , "else": {"type": "empty_map"}
}
]
, [ "PROTOC"