diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-05-11 19:45:52 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 19:45:52 +1200 |
commit | bbb0db2880d5e7600e176fc8025f0add9ef85eb9 (patch) | |
tree | fb1a027c4bf1c90aee2656a41dcd61676bd9e660 /packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch | |
parent | 0528a9d744cc95aac3df40d5a1666f0a1051cf5d (diff) | |
parent | 0cf01b55a6424f0b02b9ac7305b8c067a31c72e9 (diff) | |
download | crosstool-ng-bbb0db2880d5e7600e176fc8025f0add9ef85eb9.tar.gz crosstool-ng-bbb0db2880d5e7600e176fc8025f0add9ef85eb9.tar.bz2 crosstool-ng-bbb0db2880d5e7600e176fc8025f0add9ef85eb9.zip |
Merge pull request #1501 from nikkon-dev/nikkon-dev/gcc11
Initial commit for gcc11
Diffstat (limited to 'packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r-- | packages/gcc/11.1.0/0008-libgcc-disable-split-stack-nothreads.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 <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 |