[llvm] r351090 - gn build: Unbreak mac build after r350977
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 10:30:35 PST 2019
Author: nico
Date: Mon Jan 14 10:30:35 2019
New Revision: 351090
URL: http://llvm.org/viewvc/llvm-project?rev=351090&view=rev
Log:
gn build: Unbreak mac build after r350977
Modified:
llvm/trunk/utils/gn/build/toolchain/BUILD.gn
Modified: llvm/trunk/utils/gn/build/toolchain/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/toolchain/BUILD.gn?rev=351090&r1=351089&r2=351090&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/toolchain/BUILD.gn (original)
+++ llvm/trunk/utils/gn/build/toolchain/BUILD.gn Mon Jan 14 10:30:35 2019
@@ -137,7 +137,9 @@ unix_toolchain("unix") {
cxx = "$goma_dir/gomacc $cxx"
}
- ar = "ar"
+ if (current_os != "mac") {
+ ar = "ar"
+ }
toolchain_args = {
current_os = host_os
More information about the llvm-commits
mailing list