aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch')
-rw-r--r--toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch b/toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch
new file mode 100644
index 0000000000..68e62865b1
--- /dev/null
+++ b/toolchain/gcc/patches/arc-2016.09-release/940-no-clobber-stamp-bits.patch
@@ -0,0 +1,11 @@
+--- a/libstdc++-v3/include/Makefile.in
++++ b/libstdc++-v3/include/Makefile.in
+@@ -1459,7 +1459,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}