1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-07 17:36:07 +00:00

SCons: Split libmodules.a in folder-based libs

This removes the need for the hacky split_libmodules logic on Windows,
since all libs are now of manageable size.
This commit is contained in:
Rémi Verschelde
2020-02-07 10:41:45 +01:00
parent 7711e9f93b
commit 4e2dbb1bc0
4 changed files with 17 additions and 76 deletions

View File

@@ -293,12 +293,7 @@ def configure_mingw(env):
## Compiler configuration
if (os.name == "nt"):
# Force splitting libmodules.a in multiple chunks to work around
# issues reaching the linker command line size limit, which also
# seem to induce huge slowdown for 'ar' (GH-30892).
env['split_libmodules'] = True
else:
if os.name != "nt":
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
if (env["bits"] == "default"):