From 21adf29b8e6803fc72fa7292162912c53b851c99 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` (cherry picked from commit 30bdb23f03dd90ca255ca6d8fb035f94250b668c) --- SConstruct | 1 + 1 file changed, 1 insertion(+) 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 = []