diff --git a/SConstruct b/SConstruct index 7ea056f839d..7d4c8975e76 100644 --- a/SConstruct +++ b/SConstruct @@ -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 = []