mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 17:47:17 +01:00
SCons: Disable misbehaving MSVC incremental linking
Fixes #77968. (cherry picked from commit bc1aef88eef7bb09d1c537bf150414c50abfa374)
This commit is contained in:
parent
723b7390c1
commit
83738e314c
@ -214,6 +214,9 @@ def configure_msvc(env, manual_msvc_config):
|
||||
else:
|
||||
env.AppendUnique(CCFLAGS=["/MD"])
|
||||
|
||||
# MSVC incremental linking is broken and _increases_ link time (GH-77968).
|
||||
env.Append(LINKFLAGS=["/INCREMENTAL:NO"])
|
||||
|
||||
env.AppendUnique(CCFLAGS=["/Gd", "/nologo"])
|
||||
env.AppendUnique(CCFLAGS=["/utf-8"]) # Force to use Unicode encoding.
|
||||
env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++
|
||||
|
Loading…
Reference in New Issue
Block a user