Skip to content

Commit f94f5ff

Browse files
committed
[gn] port 95bb95e
1 parent 30c6839 commit f94f5ff

File tree

1 file changed

+1
-0
lines changed
  • llvm/utils/gn/secondary/lld/test

1 file changed

+1
-0
lines changed

llvm/utils/gn/secondary/lld/test/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ write_cmake_config("lit_site_cfg") {
2121
"LLD_SOURCE_DIR=" + rebase_path("//lld"),
2222
"LLVM_BINARY_DIR=" +
2323
rebase_path(get_label_info("//llvm", "target_out_dir")),
24+
"LLVM_HOST_TRIPLE=$llvm_current_triple",
2425
"LLVM_LIBS_DIR=", # needed only for shared builds
2526
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
2627
"LLVM_SOURCE_DIR=" + rebase_path("//llvm"),

0 commit comments

Comments
 (0)