From 30bdb23f03dd90ca255ca6d8fb035f94250b668c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 17 Aug 2023 13:01:15 +0200 Subject: [PATCH] SCons: Enable `/WX` on LINKFLAGS for MSVC with `werror=yes` --- SConstruct | 1 + 1 file changed, 1 insertion(+) 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 = []