From c4efcd7eaa5d7ba64b80dad06fe496de72ca8b96 Mon Sep 17 00:00:00 2001 From: spaun2002 Date: Wed, 28 Apr 2021 12:54:25 -0700 Subject: Initial commit for gcc11 Signed-off-by: Nik Konyuchenko --- .../0008-libgcc-disable-split-stack-nothreads.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch (limited to 'packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch') diff --git a/packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch new file mode 100644 index 00000000..df91a9ff --- /dev/null +++ b/packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch @@ -0,0 +1,17 @@ +disable split-stack for non-thread builds + +Signed-off-by: Waldemar Brodkorb + +--- + libgcc/config/t-stack | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/libgcc/config/t-stack ++++ b/libgcc/config/t-stack +@@ -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