From: Jonathan Wakely Date: Mon, 30 Oct 2017 16:28:13 +0000 (+0000) Subject: Don't create broken symlink in libstdc++-v3/include/bits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97b99f9c773a97d36febcc3136dbf286e821a3d1;p=gcc.git Don't create broken symlink in libstdc++-v3/include/bits * include/Makefile.am (stamp-bits-sup): Do not create broken symlink to stamp-bits. * include/Makefile.in: Regenerate. From-SVN: r254229 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ed4d9560d7b..b5adbb19dce 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 2017-10-30 Jonathan Wakely + * include/Makefile.am (stamp-bits-sup): Do not create broken symlink + to stamp-bits. + * include/Makefile.in: Regenerate. + * include/std/fstream (basic_ifstream, basic_ofstream, basic_fstream): Remove outdated comments about calling c_str() to create a file stream from a std::string. diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am index 3e34dc00747..add2277df80 100644 --- a/libstdc++-v3/include/Makefile.am +++ b/libstdc++-v3/include/Makefile.am @@ -1031,7 +1031,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) ${bits_sup_headers} . 2>/dev/null @$(STAMP) stamp-bits-sup stamp-c_base: ${c_base_headers} diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in index 7ce7eb66945..0e3fe49142e 100644 --- a/libstdc++-v3/include/Makefile.in +++ b/libstdc++-v3/include/Makefile.in @@ -1480,7 +1480,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) ${bits_sup_headers} . 2>/dev/null @$(STAMP) stamp-bits-sup stamp-c_base: ${c_base_headers}