From 445604a915e8ed4669b3ef3c622259c7ca0081c1 Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Wed, 13 Jul 2016 21:57:05 +0800 Subject: toolchain/gcc: add 6.1.0 -fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong Signed-off-by: Felix Fietkau [cleanups/fixes] --- toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch (limited to 'toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch') diff --git a/toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch b/toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch new file mode 100644 index 0000000..65f59fc --- /dev/null +++ b/toolchain/gcc/patches/6.1.0/940-no-clobber-stamp-bits.patch @@ -0,0 +1,11 @@ +--- a/libstdc++-v3/include/Makefile.in ++++ b/libstdc++-v3/include/Makefile.in +@@ -1458,7 +1458,7 @@ stamp-bits: ${bits_headers} + @$(STAMP) stamp-bits + + stamp-bits-sup: stamp-bits ${bits_sup_headers} +- @-cd ${bits_builddir} && $(LN_S) $? . 2>/dev/null ++ @-cd ${bits_builddir} && $(LN_S) $(filter-out stamp-bits,$?) . 2>/dev/null + @$(STAMP) stamp-bits-sup + + stamp-c_base: ${c_base_headers} -- cgit v1.1