aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-03-15 19:05:46 -0400
committerNico Weber <thakis@chromium.org>2022-03-15 19:05:46 -0400
commit78d29203ad7496dc3c4cd96310db1d6ad3a25e3d (patch)
treefaa502e6271b944e05e115d359385202e47ed023
parent3580721a59d9a6db365978d176044dc21a7eb3fa (diff)
downloadllvm-78d29203ad7496dc3c4cd96310db1d6ad3a25e3d.zip
llvm-78d29203ad7496dc3c4cd96310db1d6ad3a25e3d.tar.gz
llvm-78d29203ad7496dc3c4cd96310db1d6ad3a25e3d.tar.bz2
[gn build] (manually) port 2b69eb4a7d1d
-rw-r--r--llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
index f4fec31..065808a 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
@@ -34,6 +34,7 @@ write_lit_config("lit_site_cfg") {
extra_values = [
"CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
"CLANG_PLUGIN_SUPPORT=0",
+ "LLVM_HOST_TRIPLE=$llvm_current_triple",
"LLVM_INSTALL_TOOLCHAIN_ONLY=0",
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),