Skip to content

Commit

Permalink
SCons: Disable misbehaving MSVC incremental linking
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored and mandryskowski committed Oct 11, 2023
1 parent 0e7cb9e commit 2e84028
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 2e84028

Please sign in to comment.