You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Enable /WX on LINKFLAGS for MSVC with werror=yes
(cherry picked from commit 30bdb23f03)
This commit is contained in:
@@ -506,6 +506,7 @@ if selected_platform in platform_list:
|
|||||||
|
|
||||||
if env["werror"]:
|
if env["werror"]:
|
||||||
env.Append(CCFLAGS=["/WX"])
|
env.Append(CCFLAGS=["/WX"])
|
||||||
|
env.Append(LINKFLAGS=["/WX"])
|
||||||
else: # GCC, Clang
|
else: # GCC, Clang
|
||||||
version = methods.get_compiler_version(env) or [-1, -1]
|
version = methods.get_compiler_version(env) or [-1, -1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user