Explorar o código

Merge pull request #80711 from akien-mga/scons-msvc-werror-link-flags

SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes`
Rémi Verschelde %!s(int64=2) %!d(string=hai) anos
pai
achega
ff5c884153
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SConstruct

+ 1 - 0
SConstruct

@@ -752,6 +752,7 @@ if selected_platform in platform_list:
 
         if env["werror"]:
             env.Append(CCFLAGS=["/WX"])
+            env.Append(LINKFLAGS=["/WX"])
     else:  # GCC, Clang
         common_warnings = []