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/RULES | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'CC/RULES') diff --git a/CC/RULES b/CC/RULES index 6fdab85..ac81da2 100644 --- a/CC/RULES +++ b/CC/RULES @@ -103,33 +103,8 @@ , "body": { "type": "RESULT" , "provides": - { "type": "map_union" - , "$1": - [ { "type": "singleton_map" - , "key": "CC" - , "value": {"type": "var", "name": "CC"} - } - , { "type": "singleton_map" - , "key": "CXX" - , "value": {"type": "var", "name": "CXX"} - } - , { "type": "singleton_map" - , "key": "CFLAGS" - , "value": {"type": "var", "name": "CFLAGS"} - } - , { "type": "singleton_map" - , "key": "CXXFLAGS" - , "value": {"type": "var", "name": "CXXFLAGS"} - } - , { "type": "singleton_map" - , "key": "AR" - , "value": {"type": "var", "name": "AR"} - } - , { "type": "singleton_map" - , "key": "ENV" - , "value": {"type": "var", "name": "ENV"} - } - ] + { "type": "env" + , "vars": ["CC", "CXX", "CFLAGS", "CXXFLAGS", "AR", "ENV"] } } } -- cgit v1.2.3