mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
SCons: Enable /WX
on LINKFLAGS for MSVC with werror=yes
(cherry picked from commit 30bdb23f03dd90ca255ca6d8fb035f94250b668c)
This commit is contained in:
parent
58d1095e8a
commit
33874920cb
@ -510,6 +510,7 @@ if selected_platform in platform_list:
|
||||
|
||||
if env["werror"]:
|
||||
env.Append(CCFLAGS=["/WX"])
|
||||
env.Append(LINKFLAGS=["/WX"])
|
||||
else: # GCC, Clang
|
||||
version = methods.get_compiler_version(env) or [-1, -1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user