9e5e59970e57da9fb3b6340542929e80902037ae
[openwrt/staging/chunkeey.git] / toolchain / gcc / patches / 7.1.0 / 940-no-clobber-stamp-bits.patch
1 --- a/libstdc++-v3/include/Makefile.in
2 +++ b/libstdc++-v3/include/Makefile.in
3 @@ -1475,7 +1475,7 @@ stamp-bits: ${bits_headers}
4 @$(STAMP) stamp-bits
5
6 stamp-bits-sup: stamp-bits ${bits_sup_headers}
7 - @-cd ${bits_builddir} && $(LN_S) $? . 2>/dev/null
8 + @-cd ${bits_builddir} && $(LN_S) $(filter-out stamp-bits,$?) . 2>/dev/null
9 @$(STAMP) stamp-bits-sup
10
11 stamp-c_base: ${c_base_headers}