[llvm] fa690c2 - gn build: Speculative Windows build fix.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 13:47:38 PDT 2022


Author: Peter Collingbourne
Date: 2022-09-30T13:46:52-07:00
New Revision: fa690c22120da36f7d741ad196c9de51b3862e1e

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

LOG: gn build: Speculative Windows build fix.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
index f4df99812c21..9a4b6b63d5a6 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
@@ -177,7 +177,7 @@ shared_library("ubsan_shared") {
     ":standalone_sources",
     ":version_script",
   ]
-  if (current_os != "mac") {
+  if (current_os != "mac" && current_os != "win") {
     inputs = [ "$target_gen_dir/ubsan.vers" ]
     ldflags =
         [ "-Wl,--version-script," + rebase_path(inputs[0], root_build_dir) ]


        


More information about the llvm-commits mailing list