From 5b660b60b4239e9782b43f72b4718121eb3bd65d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 7 Mar 2016 04:28:05 +0100 Subject: fix nothread x86 builds --- toolchain/gcc/patches/4.9.3/disable-split-stack-nothread.patch | 10 ++++++++++ toolchain/gcc/patches/5.3.0/disable-split-stach-nothread.patch | 10 ---------- toolchain/gcc/patches/5.3.0/disable-split-stack-nothread.patch | 10 ++++++++++ 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 toolchain/gcc/patches/4.9.3/disable-split-stack-nothread.patch delete mode 100644 toolchain/gcc/patches/5.3.0/disable-split-stach-nothread.patch create mode 100644 toolchain/gcc/patches/5.3.0/disable-split-stack-nothread.patch (limited to 'toolchain') diff --git a/toolchain/gcc/patches/4.9.3/disable-split-stack-nothread.patch b/toolchain/gcc/patches/4.9.3/disable-split-stack-nothread.patch new file mode 100644 index 000000000..f78f93d8e --- /dev/null +++ b/toolchain/gcc/patches/4.9.3/disable-split-stack-nothread.patch @@ -0,0 +1,10 @@ +diff -Nur gcc-4.9.3.orig/libgcc/config/t-stack gcc-4.9.3/libgcc/config/t-stack +--- gcc-4.9.3.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 ++++ gcc-4.9.3/libgcc/config/t-stack 2016-03-07 03:07:56.773442671 +0100 +@@ -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 diff --git a/toolchain/gcc/patches/5.3.0/disable-split-stach-nothread.patch b/toolchain/gcc/patches/5.3.0/disable-split-stach-nothread.patch deleted file mode 100644 index 32ecf713b..000000000 --- a/toolchain/gcc/patches/5.3.0/disable-split-stach-nothread.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Nur gcc-5.3.0.orig/libgcc/config/t-stack gcc-5.3.0/libgcc/config/t-stack ---- gcc-5.3.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 -+++ gcc-5.3.0/libgcc/config/t-stack 2016-03-06 16:26:13.332119208 +0100 -@@ -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 diff --git a/toolchain/gcc/patches/5.3.0/disable-split-stack-nothread.patch b/toolchain/gcc/patches/5.3.0/disable-split-stack-nothread.patch new file mode 100644 index 000000000..32ecf713b --- /dev/null +++ b/toolchain/gcc/patches/5.3.0/disable-split-stack-nothread.patch @@ -0,0 +1,10 @@ +diff -Nur gcc-5.3.0.orig/libgcc/config/t-stack gcc-5.3.0/libgcc/config/t-stack +--- gcc-5.3.0.orig/libgcc/config/t-stack 2010-10-01 21:31:49.000000000 +0200 ++++ gcc-5.3.0/libgcc/config/t-stack 2016-03-06 16:26:13.332119208 +0100 +@@ -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 -- cgit v1.2.3