diff options
author | Chris Packham <judge.packham@gmail.com> | 2020-08-23 08:37:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 08:37:38 (GMT) |
commit | d1a320d6cf55024bcb828a923f05583023366e2d (patch) | |
tree | a16e11e36e601db3be0d48daa404c818facaa4e0 /packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch | |
parent | 8de51abf94a901d52e23fe783460fc0acd311547 (diff) | |
parent | 1b29292f897f28b3ffc55cb7e254fba040b078cf (diff) |
Merge pull request #1331 from cpackham/gcc-8.4.0-fix
gcc: Remove nested 8.3.0 directory
Diffstat (limited to 'packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r-- | packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch new file mode 100644 index 0000000..df91a9f --- /dev/null +++ b/packages/gcc/8.4.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 |