Browse Source

SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes`

Rémi Verschelde 2 years ago
parent
commit
30bdb23f03
1 changed files with 1 additions and 0 deletions
  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 = []