[PATCH] D57202: gn build: Set is_clang to true in stage2 toolchains.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 16:00:48 PST 2019


pcc created this revision.
pcc added a reviewer: thakis.

Repository:
  rL LLVM

https://reviews.llvm.org/D57202

Files:
  llvm/utils/gn/build/toolchain/BUILD.gn


Index: llvm/utils/gn/build/toolchain/BUILD.gn
===================================================================
--- llvm/utils/gn/build/toolchain/BUILD.gn
+++ llvm/utils/gn/build/toolchain/BUILD.gn
@@ -175,6 +175,7 @@
   toolchain_args = {
     current_os = host_os
     current_cpu = host_cpu
+    is_clang = true
     use_lld = host_os != "mac"
   }
 }
@@ -184,6 +185,7 @@
     toolchain_args = {
       current_os = "android"
       current_cpu = "arm64"
+      is_clang = true
       use_lld = true
     }
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57202.183427.patch
Type: text/x-patch
Size: 517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190125/64be110f/attachment.bin>


More information about the llvm-commits mailing list