commit 3fc281332cbe69107fb8a466901f495ac861e700
parent 684a87f74c84e29b6e9271be704c6004082f5912
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 5 Oct 2018 20:57:23 -0700
Use standard ar rather than llvm-ar in toolchain
llvm-ar is not pre-installed on macOS or FreeBSD.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/toolchain/BUILD.gn b/build/toolchain/BUILD.gn
@@ -12,7 +12,7 @@ toolchain("clang") {
cc = "clang"
cxx = "clang++"
ld = cxx
- ar = "llvm-ar"
+ ar = "ar"
tool("cc") {
depfile = "{{output}}.d"
@@ -66,7 +66,7 @@ toolchain("clang") {
tool("alink") {
rspfile = "{{output}}.rsp"
- command = "rm -f {{output}} && $ar {{arflags}} rcsD {{output}} @\"$rspfile\""
+ command = "rm -f {{output}} && $ar rcs {{output}} {{inputs}}"
description = "AR {{output}}"
rspfile_content = "{{inputs}}"
outputs = [