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

SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes`
This commit is contained in:
Rémi Verschelde 2023-08-18 09:32:04 +02:00
commit ff5c884153
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

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