diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-07-29 08:07:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 08:07:58 (GMT) |
commit | cd275bc38c414fb1c3f0812f1d7e2d6648c2e0db (patch) | |
tree | 4a7796e16f5d251b272019ddeae8f375d7dc7222 /packages/gcc/11.2.0/0008-libgcc-disable-split-stack-nothreads.patch | |
parent | 283142c032c60c11ba0a9ec8c355a0d9138c6814 (diff) | |
parent | 329c45eb5817c52ac2e4f18d8caee14e0a897d10 (diff) |
Merge pull request #1567 from graysky2/11.2
gcc: bump to 11.2
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 |