serenity/Toolchain/Patches
Daniel Bertalan 738e52da56 Toolchain: Link libgcc_s on an as-needed basis
If we pass `-lgcc_s` explicitly to the linker, it will be added as a
dependency even if no functions are used from it. This behavior is not
consistent with other systems. GCC can already handle passing the
correct flags, so let's rely on that instead.

As an added benefit, we now get support for the `-static-libgcc` flag;
and `-static-pie` will no longer mistakenly link us against the dynamic
version of libgcc.

No toolchain rebuild is required.
2021-12-16 21:27:03 +02:00
..
binutils.patch Toolchain: Load x64 executables at a higher address 2021-11-14 22:25:15 +01:00
gcc.patch Toolchain: Link libgcc_s on an as-needed basis 2021-12-16 21:27:03 +02:00
gdb.patch Toolchain: Build aarch64-gdb for cross-debugging on x86 2021-09-07 12:58:46 +02:00
llvm.patch Toolchain/Clang: Support using libstdc++ as the C++ standard library 2021-11-28 09:38:57 -08:00