diff --git a/SConstruct b/SConstruct index 8b41918de..81ef3b0ae 100644 --- a/SConstruct +++ b/SConstruct @@ -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]