commit | 0f3dbca6143ec3c4e6e0de9e20f19732c56b81a7 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@google.com> | Thu Apr 11 10:30:18 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 12 18:03:08 2019 +0000 |
tree | b065f8e20a6c65ff51109b0ba5199efa8ce5b650 | |
parent | 64b846c96daeb3eaf08e26d8a84d8451c6cb712b [diff] |
Use LLVM archiver on macOS macOS libtool doesn't seem to handle LTO object files, use LLVM linker instead to avoid the error. Change-Id: I4a5dd0ee8eb508b86ec2a9431b09f69b8b9d5eb1 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/4600 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Petr Hosek <phosek@google.com>
diff --git a/build/build_mac.ninja.template b/build/build_mac.ninja.template index ff82eb8..e7dedac 100644 --- a/build/build_mac.ninja.template +++ b/build/build_mac.ninja.template
@@ -11,7 +11,7 @@ deps = gcc rule alink_thin - command = rm -f $out && libtool -static -o $out $in + command = rm -f $out && $ar rcs $out $in description = AR $out rule link