[llvm] r373858 - gn build: make windows build less broken

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 6 11:11:53 PDT 2019


Author: nico
Date: Sun Oct  6 11:11:53 2019
New Revision: 373858

URL: http://llvm.org/viewvc/llvm-project?rev=373858&view=rev
Log:
gn build: make windows build less broken

Modified:
    llvm/trunk/utils/gn/build/toolchain/BUILD.gn

Modified: llvm/trunk/utils/gn/build/toolchain/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/toolchain/BUILD.gn?rev=373858&r1=373857&r2=373858&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/toolchain/BUILD.gn (original)
+++ llvm/trunk/utils/gn/build/toolchain/BUILD.gn Sun Oct  6 11:11:53 2019
@@ -265,6 +265,7 @@ toolchain("win") {
       dllfile,
       libfile,
     ]
+    lib_switch = ""
     default_output_extension = ".dll"
     restat = true
 
@@ -287,6 +288,7 @@ toolchain("win") {
     outputs = [
       dllfile,
     ]
+    lib_switch = ""
     runtime_outputs = outputs
     default_output_extension = ".dll"
 
@@ -302,6 +304,7 @@ toolchain("win") {
     outputs = [
       outfile,
     ]
+    lib_switch = ""
     default_output_extension = ".exe"
 
     # Setting this allows targets to override the default executable output by




More information about the llvm-commits mailing list