0b21ffaf0944778b482de0d69d9876bbd50cc821
[oweals/openwrt.git] / toolchain / gcc / patches / 5.4.0 / 940-no-clobber-stamp-bits.patch
1 --- a/libstdc++-v3/include/Makefile.in
2 +++ b/libstdc++-v3/include/Makefile.in
3 @@ -1421,7 +1421,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}