summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-07 10:41:45 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-07 14:19:51 +0100
commit4e2dbb1bc0845c9458a47f3ba86b184996fb7444 (patch)
tree19d4c50fa5e31a8148533731177342d346fdbd02 /platform/windows/detect.py
parent7711e9f93bcb6bda690c03899b44762009e82547 (diff)
downloadredot-engine-4e2dbb1bc0845c9458a47f3ba86b184996fb7444.tar.gz
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.
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 500736bd3f..72c3f60d99 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -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"):