You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
SCons: Disable misbehaving MSVC incremental linking
Fixes #77968.
(cherry picked from commit bc1aef88ee)
This commit is contained in:
@@ -216,6 +216,9 @@ def configure_msvc(env, manual_msvc_config):
|
|||||||
else:
|
else:
|
||||||
env.AppendUnique(CCFLAGS=["/MD"])
|
env.AppendUnique(CCFLAGS=["/MD"])
|
||||||
|
|
||||||
|
# MSVC incremental linking is broken and _increases_ link time (GH-77968).
|
||||||
|
env.Append(LINKFLAGS=["/INCREMENTAL:NO"])
|
||||||
|
|
||||||
env.AppendUnique(CCFLAGS=["/Gd", "/GR", "/nologo"])
|
env.AppendUnique(CCFLAGS=["/Gd", "/GR", "/nologo"])
|
||||||
env.AppendUnique(CCFLAGS=["/utf-8"]) # Force to use Unicode encoding.
|
env.AppendUnique(CCFLAGS=["/utf-8"]) # Force to use Unicode encoding.
|
||||||
env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++
|
env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++
|
||||||
|
|||||||
Reference in New Issue
Block a user