diff --git a/SConstruct b/SConstruct index 22c9e18c081..bbdad117b24 100644 --- a/SConstruct +++ b/SConstruct @@ -733,6 +733,7 @@ if selected_platform in platform_list: if env["werror"]: env.Append(CCFLAGS=["/WX"]) + env.Append(LINKFLAGS=["/WX"]) else: # GCC, Clang common_warnings = []