We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91bb644 + f6f2db5 commit 78d6464Copy full SHA for 78d6464
1 file changed
SConstruct
@@ -25,6 +25,10 @@ ARGUMENTS["target"] = "editor"
25
env = SConscript("godot-cpp/SConstruct").Clone()
26
env.PrependENVPath("PATH", os.getenv("PATH")) # Prepend PATH, done upstream in recent godot-cpp verions.
27
28
+# Force linking with LTO on windows MSVC, silence the linker complaining that libgit uses LTO but we are not linking with it.
29
+if env["platform"] == "windows" and env.get("is_msvc", False):
30
+ env.AppendUnique(LINKFLAGS=["/LTCG"])
31
+
32
# OpenSSL Builder
33
env.Tool("openssl", toolpath=["tools"])
34
0 commit comments