From 598e7a3a689ace9309595e685ec9af594d15c64c Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 6 Oct 2019 18:11:53 +0000 Subject: [PATCH] gn build: make windows build less broken llvm-svn: 373858 --- llvm/utils/gn/build/toolchain/BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn index 70e259e..c36579f 100644 --- a/llvm/utils/gn/build/toolchain/BUILD.gn +++ b/llvm/utils/gn/build/toolchain/BUILD.gn @@ -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 -- 2.7.4