diff options
author | Waldemar Brodkorb <wbrodkorb@infonline.de> | 2021-06-11 15:28:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-06-11 15:32:57 +0200 |
commit | 1557f0ea6e1ae6c363544b853c805d4ee5900ec3 (patch) | |
tree | cc90ac681bdf941f7218dbc16b2ec5501c2da328 /toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch | |
parent | b83259f5d8417e231bf261a50954aa4c5709e814 (diff) |
gcc: update 8/9
Diffstat (limited to 'toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch')
-rw-r--r-- | toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch b/toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch new file mode 100644 index 000000000..0038d7573 --- /dev/null +++ b/toolchain/gcc/patches/7.5.0/disable-split-stack-nothread.patch @@ -0,0 +1,10 @@ +diff -Nur gcc-7.1.0.orig/libgcc/config/t-stack gcc-7.1.0/libgcc/config/t-stack +--- gcc-7.1.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 ++++ gcc-7.1.0/libgcc/config/t-stack 2017-06-23 19:55:25.215965555 +0200 +@@ -1,4 +1,6 @@ + # Makefile fragment to provide generic support for -fsplit-stack. + # This should be used in config.host for any host which supports + # -fsplit-stack. ++ifeq ($(enable_threads),yes) + LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c ++endif |