[llvm] r352146 - gn build: Set is_clang to true in stage2 toolchains.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 17:18:55 PST 2019
Author: pcc
Date: Thu Jan 24 17:18:55 2019
New Revision: 352146
URL: http://llvm.org/viewvc/llvm-project?rev=352146&view=rev
Log:
gn build: Set is_clang to true in stage2 toolchains.
Differential Revision: https://reviews.llvm.org/D57202
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=352146&r1=352145&r2=352146&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/toolchain/BUILD.gn (original)
+++ llvm/trunk/utils/gn/build/toolchain/BUILD.gn Thu Jan 24 17:18:55 2019
@@ -175,6 +175,7 @@ stage2_unix_toolchain("stage2_unix") {
toolchain_args = {
current_os = host_os
current_cpu = host_cpu
+ is_clang = true
use_lld = host_os != "mac"
}
}
@@ -184,6 +185,7 @@ if (android_ndk_path != "") {
toolchain_args = {
current_os = "android"
current_cpu = "arm64"
+ is_clang = true
use_lld = true
}
}
More information about the llvm-commits
mailing list