From 1fe18724449336286513ba90d506b57c63238242 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 19 Apr 2023 11:32:10 +0200 Subject: 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). --- rules/CC/proto/EXPRESSIONS | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3