From 6f404766c89fb48c4fc871d2ccb273bc5d5b2e5e Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 19 Sep 2022 14:13:02 +0200 Subject: rules: Use new 'env' expression --- CC/EXPRESSIONS | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'CC/EXPRESSIONS') diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index 48f40a2..5153b2d 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -506,18 +506,7 @@ , "provides": { "type": "map_union" , "$1": - [ { "type": "singleton_map" - , "key": "compile-deps" - , "value": {"type": "var", "name": "compile-deps"} - } - , { "type": "singleton_map" - , "key": "link-deps" - , "value": {"type": "var", "name": "link-deps"} - } - , { "type": "singleton_map" - , "key": "link-args" - , "value": {"type": "var", "name": "link-args"} - } + [ {"type": "env", "vars": ["compile-deps", "link-deps", "link-args"]} , { "type": "var" , "name": "extra-provides" , "default": {"type": "empty_map"} -- cgit v1.2.3