godot/drivers
Rémi Verschelde c320a82213 SCons: Add 'split_libmodules' option to workaround linker issue
The new 'split_libmodules=yes' option is useful to work around linker
command line size limitations when linking a huge number of objects.
We're currently over 64k chars when linking libmodules.a on Windows
with MinGW, which triggers issues as seen in #30892.

Even on Linux, we can also reach linker command line size limitations
by adding more custom modules.

We force this option to True for MinGW on Windows, which fixes #30892.

Additional changes to lib splitting:

- Fix linking of the split module libs with interdependent symbols,
  hacking our way into LINKCOM and SHLINKCOM to set the `--start-group`
  and `--end-group` flags.
- Fix Python 3 compatibility in `methods.split_lib()`.
- Drop seemingly obsolete condition for 'msys' on 'posix'.
- Drop the unnecessary 'split_drivers' as the drivers lib is no longer
  too big since we moved all thirdparty builds to modules.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2019-12-11 15:40:28 +01:00
..
alsa Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
alsamidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
convex_decomp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
coreaudio Fix compilation warnings in macOS build, enable warnings=extra werror=yes for macOS CI. 2019-10-24 20:37:56 +03:00
coremidi Fix compilation warnings in macOS build, enable warnings=extra werror=yes for macOS CI. 2019-10-24 20:37:56 +03:00
dummy Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
gl_context SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines 2019-07-03 09:59:04 +02:00
gles2 Merge pull request #34238 from clayjohn/GLES2-use-renderbuffer-post-process 2019-12-10 17:16:40 +01:00
gles3 GLES3: Properly unbind buffers after draw commands 2019-12-09 09:25:20 +01:00
png Remove all uses of ERR_EXPLAIN macros. 2019-11-11 10:24:04 +01:00
pulseaudio Merge pull request #31077 from qarmin/coverity_bugs 2019-08-07 13:49:33 +02:00
unix Fix some crashes, overflows and using variables without values 2019-11-01 16:16:31 +01:00
wasapi Fix compilation warnings in macOS build, enable warnings=extra werror=yes for macOS CI. 2019-10-24 20:37:56 +03:00
windows Handle missing file properly when checking for case mismatch 2019-11-10 09:51:09 +01:00
winmidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
xaudio2 Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' 2019-08-17 13:31:22 +02:00
register_driver_types.cpp Consistency in resource format saver/loader de-registration 2019-01-10 12:45:57 +01:00
register_driver_types.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
SCsub SCons: Add 'split_libmodules' option to workaround linker issue 2019-12-11 15:40:28 +01:00