[llvm] 1ad9c95 - [gn build] port 1d8fc086ae26

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 05:29:45 PDT 2021


Author: Nico Weber
Date: 2021-03-24T08:29:34-04:00
New Revision: 1ad9c95a45c580c05054e24270019466bd679943

URL: https://github.com/llvm/llvm-project/commit/1ad9c95a45c580c05054e24270019466bd679943
DIFF: https://github.com/llvm/llvm-project/commit/1ad9c95a45c580c05054e24270019466bd679943.diff

LOG: [gn build] port 1d8fc086ae26

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/test/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index 6411d49b67de..9585e280856e 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -56,6 +56,7 @@ write_lit_config("lit_site_cfg") {
     # that's also read here -- but that should happen after multi-toolchain
     # builds exist, to make sure it's a toolchain var.
     "CMAKE_CXX_COMPILER=c++",
+    "CMAKE_C_COMPILER=cc",
     "ENABLE_BACKTRACES=1",
     "LLVM_ENABLE_NEW_PASS_MANAGER=1",
     "LLVM_HOST_TRIPLE=$llvm_current_triple",


        


More information about the llvm-commits mailing list