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

(cherry picked from commit 30bdb23f03)
This commit is contained in:
Rémi Verschelde 2023-08-17 13:01:15 +02:00 committed by Yuri Sizov
parent cdce948473
commit 21adf29b8e

View File

@ -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 = []