summaryrefslogtreecommitdiff
path: root/packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-07-05 09:11:45 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-07-05 09:11:45 (GMT)
commit5ab678eae33f8e1d2a43f96a1769a18dd088dee4 (patch)
treeb77fbed7270843149b5d49f561d42dbf2a37ac4e /packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch
parent94b98a4cc96ff6c4ca982ea19db953447e802919 (diff)
gcc: Bump maintenance versions
8.4.0 -> 8.5.0 9.3.0 -> 9.4.0 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r--packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch
new file mode 100644
index 0000000..df91a9f
--- /dev/null
+++ b/packages/gcc/8.5.0/0008-libgcc-disable-split-stack-nothreads.patch
@@ -0,0 +1,17 @@
+disable split-stack for non-thread builds
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+
+---
+ 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