From 85fe2d7d558da8ad2055583907fd0b2c19833c64 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 7 Oct 2019 13:13:31 +0000 Subject: [PATCH] gn build: use better triple on windows The CMake build uses "x86_64-pc-windows-msvc". The "-msvc" suffix is important because e.g. clang/test/lit.cfg.py matches against the suffix "windows-msvc" to compute the presence of the "ms-sdk" and the absence of the "LP64" feature. Differential Revision: https://reviews.llvm.org/D68572 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373899 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/gn/secondary/llvm/triples.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gn/secondary/llvm/triples.gni b/utils/gn/secondary/llvm/triples.gni index efe8be28513..558731295ce 100644 --- a/utils/gn/secondary/llvm/triples.gni +++ b/utils/gn/secondary/llvm/triples.gni @@ -10,7 +10,7 @@ if (current_cpu == "x86") { } else if (current_os == "mac") { llvm_current_triple = "x86_64-apple-darwin" } else if (current_os == "win") { - llvm_current_triple = "x86_64-pc-windows" + llvm_current_triple = "x86_64-pc-windows-msvc" } } else if (current_cpu == "arm64") { if (current_os == "android") { -- 2.40.0