SCons: Enable /WX on LINKFLAGS for MSVC with werror=yes
This commit is contained in:
@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user