Skip to content

Commit

Permalink
Merge pull request #80482 from akien-mga/scons-msvc-disable-increment…
Browse files Browse the repository at this point in the history
…al-linking

SCons: Disable misbehaving MSVC incremental linking
  • Loading branch information
akien-mga committed Aug 11, 2023
2 parents a22cadf + bc1aef8 commit 478b803
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 478b803

Please sign in to comment.