diff options
author | graysky <graysky@archlinux.us> | 2021-07-28 18:30:56 (GMT) |
---|---|---|
committer | graysky <graysky@archlinux.us> | 2021-07-28 18:53:00 (GMT) |
commit | 329c45eb5817c52ac2e4f18d8caee14e0a897d10 (patch) | |
tree | 4a7796e16f5d251b272019ddeae8f375d7dc7222 /packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch | |
parent | 283142c032c60c11ba0a9ec8c355a0d9138c6814 (diff) |
gcc: bump to 11.2
Signed-off-by: John Audia <graysky@archlinux.us>
Diffstat (limited to 'packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r-- | packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch new file mode 100644 index 0000000..df91a9f --- /dev/null +++ b/packages/gcc/11.2.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 |