Merge pull request #97458 from Faless/fix/imagine_its_2024_and_your_os_cant_handle_few_kbs_of_text

[SCons] Remove MAXLINELENGTH override for MSVC
This commit is contained in:
Rémi Verschelde 2024-09-26 12:50:14 +02:00 committed by GitHub
commit a0d1ba4a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -390,8 +390,6 @@ def configure_msvc(env: "SConsEnvironment", vcvars_msvc_config):
env.AppendUnique(CPPDEFINES=["R128_STDC_ONLY"]) env.AppendUnique(CPPDEFINES=["R128_STDC_ONLY"])
env.extra_suffix = ".llvm" + env.extra_suffix 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"): if env["silence_msvc"] and not env.GetOption("clean"):
from tempfile import mkstemp from tempfile import mkstemp