[windows][lldb] fix incorrect LLVM_HOST_TRIPLE when cross-compiling

This commit is contained in:
Charles Zablit
2025-07-15 17:21:23 +02:00
parent d746436d94
commit 56193998f5

View File

@@ -1750,7 +1750,7 @@ function Get-CompilersDefines([Hashtable] $Platform, [switch] $Test) {
LLVM_CONFIG_PATH = (Join-Path -Path $BuildTools -ChildPath "llvm-config.exe");
LLVM_ENABLE_ASSERTIONS = $(if ($Variant -eq "Asserts") { "YES" } else { "NO" })
LLVM_EXTERNAL_SWIFT_SOURCE_DIR = "$SourceCache\swift";
LLVM_HOST_TRIPLE = $BuildPlatform.Triple;
LLVM_HOST_TRIPLE = $Platform.Triple;
LLVM_NATIVE_TOOL_DIR = $BuildTools;
LLVM_TABLEGEN = (Join-Path $BuildTools -ChildPath "llvm-tblgen.exe");
LLVM_USE_HOST_TOOLS = "NO";