1
0

disable-split-stack-nothread.patch 514 B

12345678910
  1. diff -Nur gcc-5.3.0.orig/libgcc/config/t-stack gcc-5.3.0/libgcc/config/t-stack
  2. --- gcc-5.3.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200
  3. +++ gcc-5.3.0/libgcc/config/t-stack 2016-03-06 16:26:13.332119208 +0100
  4. @@ -1,4 +1,6 @@
  5. # Makefile fragment to provide generic support for -fsplit-stack.
  6. # This should be used in config.host for any host which supports
  7. # -fsplit-stack.
  8. +ifeq ($(enable_threads),yes)
  9. LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c
  10. +endif