diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 11:32:10 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 11:32:10 +0200 |
commit | 1fe18724449336286513ba90d506b57c63238242 (patch) | |
tree | f899c635c88aad84be17f5b09c93de8cb5339beb | |
parent | 7839edd67f7cf75aef195a4978c8a9b8b152c819 (diff) | |
download | justbuild-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/EXPRESSIONS | 1 |
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" |