From 395a4fc5f27b5cc8b9ebce3d66fd95be2eea9b3b Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 25 Sep 2024 17:38:34 +0200 Subject: [PATCH] [SCons] Remove MAXLINELENGTH override for MSVC It's not clear what is the actual max value that windows support, but despite their claim of it being 8191 we have been seeing failure with just 8150. --- platform/windows/detect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 9adab7284c9..4043f3a8c28 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -390,8 +390,6 @@ def configure_msvc(env: "SConsEnvironment", vcvars_msvc_config): env.AppendUnique(CPPDEFINES=["R128_STDC_ONLY"]) env.extra_suffix = ".llvm" + env.extra_suffix - env["MAXLINELENGTH"] = 8192 # Windows Vista and beyond, so always applicable. - if env["silence_msvc"] and not env.GetOption("clean"): from tempfile import mkstemp