SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes`
(cherry picked from commit 30bdb23f03
)
This commit is contained in:
parent
cdce948473
commit
21adf29b8e
|
@ -733,6 +733,7 @@ if selected_platform in platform_list:
|
|||
|
||||
if env["werror"]:
|
||||
env.Append(CCFLAGS=["/WX"])
|
||||
env.Append(LINKFLAGS=["/WX"])
|
||||
else: # GCC, Clang
|
||||
common_warnings = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue