diff options
author | Alexey Neyman <stilor@att.net> | 2019-09-30 23:46:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 23:46:14 -0700 |
commit | b18ce512f568e97bbae9cfa108be5c032fed44b3 (patch) | |
tree | d87c54c1de50ff140ce4310df7714629f919b8d7 /packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch | |
parent | fdcfffebf60811aa70897319fb3b1d210ea876e1 (diff) | |
parent | a6c36d3e7d667370d85ba8e782025a4f3dc2689e (diff) | |
download | crosstool-ng-b18ce512f568e97bbae9cfa108be5c032fed44b3.tar.gz crosstool-ng-b18ce512f568e97bbae9cfa108be5c032fed44b3.tar.bz2 crosstool-ng-b18ce512f568e97bbae9cfa108be5c032fed44b3.zip |
Merge pull request #1223 from egtvedt/add-gcc-9.2.0
Update to gcc 9.2.0
Diffstat (limited to 'packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r-- | packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/9.2.0/0008-libgcc-disable-split-stack-nothreads.patch new file mode 100644 index 00000000..df91a9ff --- /dev/null +++ b/packages/gcc/9.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 |