summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-11-02 16:39:59 +0100
committerAlberto Sartori <alberto.sartori@huawei.com>2022-11-02 17:49:12 +0100
commit07636c93672507a53aa4f8451fb5f668dd9f7234 (patch)
tree04fd625fe40da33b270426384e5ef3a0d9af7720 /rules
parent665bb17ca58ef90ae5c830c49f832e2b1123f255 (diff)
downloadjustbuild-07636c93672507a53aa4f8451fb5f668dd9f7234.tar.gz
rules: don't always use the default archiver
Diffstat (limited to 'rules')
-rw-r--r--rules/CC/EXPRESSIONS7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS
index 5153b2d4..77dcd9a4 100644
--- a/rules/CC/EXPRESSIONS
+++ b/rules/CC/EXPRESSIONS
@@ -367,7 +367,12 @@
]
, ["CXX", {"type": "CALL_EXPRESSION", "name": "compiler"}]
, ["CXXFLAGS", {"type": "CALL_EXPRESSION", "name": "flags"}]
- , ["AR", {"type": "CALL_EXPRESSION", "name": "default-AR"}]
+ , [ "AR"
+ , { "type": "var"
+ , "name": "AR"
+ , "default": {"type": "CALL_EXPRESSION", "name": "default-AR"}
+ }
+ ]
, [ "CXXFLAGS"
, { "type": "++"
, "$1":