summaryrefslogtreecommitdiff
path: root/etc/import/src/TARGETS.archive
diff options
context:
space:
mode:
Diffstat (limited to 'etc/import/src/TARGETS.archive')
-rw-r--r--etc/import/src/TARGETS.archive22
1 files changed, 19 insertions, 3 deletions
diff --git a/etc/import/src/TARGETS.archive b/etc/import/src/TARGETS.archive
index ee3ff78b..b71c4f89 100644
--- a/etc/import/src/TARGETS.archive
+++ b/etc/import/src/TARGETS.archive
@@ -520,13 +520,21 @@
}
, "archive_hidden_symbols":
{ "type": ["@", "rules", "CC", "library"]
- , "arguments_config": ["COMPILER_FAMILY", "HIDE_SYMBOLS"]
+ , "arguments_config": ["TOOLCHAIN_CONFIG", "HIDE_SYMBOLS"]
, "name": ["archive_hidden_symbols"]
, "private-ldflags":
{ "type": "if"
, "cond":
{ "type": "=="
- , "$1": {"type": "var", "name": "COMPILER_FAMILY"}
+ , "$1":
+ { "type": "lookup"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
+ }
+ , "key": "FAMILY"
+ }
, "$2": "msvc"
}
, "then": []
@@ -535,7 +543,15 @@
, "cond": {"type": "var", "name": "HIDE_SYMBOLS"}
, "then":
{ "type": "case*"
- , "expr": {"type": "var", "name": "COMPILER_FAMILY"}
+ , "expr":
+ { "type": "lookup"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
+ }
+ , "key": "FAMILY"
+ }
, "case":
[ ["clang", ["-fvisibility=hidden"]]
, ["gnu", ["-fvisibility=hidden"]]