diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-07-06 12:36:18 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-07-06 19:08:22 +0200 |
commit | d86275d27156bbcb1922e9fc33f1573234e59528 (patch) | |
tree | ba37bfa173ec5830563779efa8eb62d6f1974487 /Toolchain/Patches | |
parent | 67f0c0d5f07479eee9294535211a31b3a52449c5 (diff) | |
download | serenity-d86275d27156bbcb1922e9fc33f1573234e59528.zip |
Kernel+Toolchain: Remove the kernel-specific toolchain
This is no longer necessary now that the kernel doesn't use libsupc++
anymore.
Diffstat (limited to 'Toolchain/Patches')
-rw-r--r-- | Toolchain/Patches/gcc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Toolchain/Patches/gcc.patch b/Toolchain/Patches/gcc.patch index d6eef6e996..89f1fa125f 100644 --- a/Toolchain/Patches/gcc.patch +++ b/Toolchain/Patches/gcc.patch @@ -129,10 +129,10 @@ diff -Naur gcc-11.1.0-RC-20210420/gcc/config/serenity.h gcc-11.1.0-RC-20210420.s +#define LINK_SPEC "%{shared:-shared} %{static:-static} %{!static: %{rdynamic:-export-dynamic} %{!fbuilding-libgcc:%{!nodefaultlibs:-lgcc_s} -dynamic-linker /usr/lib/Loader.so}}" + +#undef CC1_SPEC -+#define CC1_SPEC "-fno-exceptions -ftls-model=initial-exec %{!fno-pic:%{!fno-PIC:%{!fpic:%{!fPIC: -fPIC}}}} -fno-semantic-interposition" ++#define CC1_SPEC "-ftls-model=initial-exec %{!fno-pic:%{!fno-PIC:%{!fpic:%{!fPIC: -fPIC}}}} -fno-semantic-interposition" + +#undef CC1PLUS_SPEC -+#define CC1PLUS_SPEC "-fno-exceptions -ftls-model=initial-exec" ++#define CC1PLUS_SPEC "-ftls-model=initial-exec" + +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" |