diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-11 10:33:00 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-11 10:33:00 +0200 |
commit | 478b80310ccbaaaa028d09d567d504ce8aace5bb (patch) | |
tree | 390a349ca4f90b00f3f5a6b6e34efbf459ab8abf /platform/windows/detect.py | |
parent | a22cadfee92c6ee0c70a6168b643b581fb61e07f (diff) | |
parent | bc1aef88eef7bb09d1c537bf150414c50abfa374 (diff) | |
download | redot-engine-478b80310ccbaaaa028d09d567d504ce8aace5bb.tar.gz |
Merge pull request #80482 from akien-mga/scons-msvc-disable-incremental-linking
SCons: Disable misbehaving MSVC incremental linking
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index bec1fd2cb6..9548939695 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -355,6 +355,9 @@ def configure_msvc(env, vcvars_msvc_config): else: env.AppendUnique(CCFLAGS=["/MD"]) + # MSVC incremental linking is broken and _increases_ link time (GH-77968). + env.Append(LINKFLAGS=["/INCREMENTAL:NO"]) + if env["arch"] == "x86_32": env["x86_libtheora_opt_vc"] = True |