diff --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn index ca24b4b4037838..97007eecd1eb92 100644 --- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn @@ -37,6 +37,7 @@ write_cmake_config("lit_common_configured") { "LLVM_LIBCXX_USED=0", "GOLD_EXECUTABLE=ld", + "GNU_LD_EXECUTABLE=ld", "COMPILER_RT_RESOLVED_TEST_COMPILER=" + rebase_path("$root_build_dir/bin/clang"), "COMPILER_RT_TEST_COMPILER_ID=Clang",