Don't create broken symlink in libstdc++-v3/include/bits
authorJonathan Wakely <jwakely@redhat.com>
Mon, 30 Oct 2017 16:28:13 +0000 (16:28 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 30 Oct 2017 16:28:13 +0000 (16:28 +0000)
* include/Makefile.am (stamp-bits-sup): Do not create broken symlink
to stamp-bits.
* include/Makefile.in: Regenerate.

From-SVN: r254229

libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in

index ed4d9560d7b6f46e000c59c17222246c8f815951..b5adbb19dce2e63d7570f4325f0848a4674ccdd4 100644 (file)
@@ -1,5 +1,9 @@
 2017-10-30  Jonathan Wakely  <jwakely@redhat.com>
 
+       * 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.
index 3e34dc00747e8b711eba72da2fe06e06e4224dc9..add2277df803eda8c331dfaac6ac4ddb682a6b16 100644 (file)
@@ -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}
index 7ce7eb6694570d9bfd7c8dc10f848dbcedff4628..0e3fe49142e9d335ceb9673abe1d19a27fa8a134 100644 (file)
@@ -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}