summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-10-07 13:13:31 +0000
committerNico Weber <nicolasweber@gmx.de>2019-10-07 13:13:31 +0000
commita1f5c258d6928de562afaf21f3e4308530ec75cc (patch)
tree384c4e7aebf66b275cc09c03d6d91ffef0ed2915 /llvm
parent0fedc26a0dc0066f3968b9fea6a4e1f746c8d5a4 (diff)
downloadbcm5719-llvm-a1f5c258d6928de562afaf21f3e4308530ec75cc.tar.gz
bcm5719-llvm-a1f5c258d6928de562afaf21f3e4308530ec75cc.zip
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 llvm-svn: 373899
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/gn/secondary/llvm/triples.gni2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/gn/secondary/llvm/triples.gni b/llvm/utils/gn/secondary/llvm/triples.gni
index efe8be28513..558731295ce 100644
--- a/llvm/utils/gn/secondary/llvm/triples.gni
+++ b/llvm/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") {
OpenPOWER on IntegriCloud