From e7665214765ee104c0ff2ec6d0ba33257512f86e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 7 Oct 2019 22:46:57 +0200 Subject: gcc: move patch folder to correct version, delete old csky patch --- toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch (limited to 'toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch') diff --git a/toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch b/toolchain/gcc/patches/7.4.0/disable-split-stack-nothread.patch new file mode 100644 index 000000000..0038d7573 --- /dev/null +++ b/toolchain/gcc/patches/7.4.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 -- cgit v1.2.3