Merge pull request #80482 from akien-mga/scons-msvc-disable-incremental-linking
SCons: Disable misbehaving MSVC incremental linking
This commit is contained in:
commit
478b80310c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user