re PR libstdc++/62159 (Missing headers for freestanding implementation)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 27 Aug 2014 17:33:42 +0000 (18:33 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 27 Aug 2014 17:33:42 +0000 (18:33 +0100)
PR libstdc++/62159
* include/Makefile.am (install-freestanding-headers): Add missing
C++11 headers.
* include/Makefile.in: Regenerate.

From-SVN: r214580

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

index 38c601b5b9409726b02a90f58798209392110105..6582e09648806d3e47684a854de954f1b568c29f 100644 (file)
@@ -1,3 +1,10 @@
+2014-08-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/62159
+       * include/Makefile.am (install-freestanding-headers): Add missing
+       C++11 headers.
+       * include/Makefile.in: Regenerate.
+
 2014-08-21  Tony Wang  <tony.wang@arm.com>
 
        * testsuite/18_support/nested_exception/62154.cc: Disable when the
index e469586077d2659eef4ec9a71d8463aeb0f7d209..5476a378b67b3afa15ae70408a8bcbe8093e79e1 100644 (file)
@@ -1223,24 +1223,28 @@ else
 install-data-local: install-freestanding-headers
 endif
 
-# This is a subset of the full install-headers rule.  We only need <cstddef>,
-# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
-# files which they include (and which we provide).  The last three headers
-# are installed by libsupc++, so only the first four and the sub-includes
-# are copied here.
+# This is a subset of the full install-headers rule.  We only need <ciso646>,
+# <cstddef>, <cfloat>, <limits>, <climits>, <cstdint>, <cstdlib>, <new>,
+# <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,
+# <cstdbool>, <type_traits>, <atomic>, and any files which they include (and
+# which we provide).
+# <new>, <typeinfo>, <exception>, and <initializer_list> are installed by
+# libsupc++, so only the others and the sub-includes are copied here.
 install-freestanding-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
+       for file in c++0x_warning.h atomic_base.h; do \
+         $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
        $(mkinstalldirs) $(DESTDIR)${host_installdir}
-       $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/c++0x_warning.h \
-         $(DESTDIR)${gxx_include_dir}/bits
        for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
          ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
          ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
-       $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
+       for file in limits type_traits atomic; do \
+         $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
-       for file in cstddef cstdlib cstdarg; do \
+       for file in ciso646 cstddef cfloat climits cstdint cstdlib \
+         cstdalign cstdarg cstdbool; do \
          $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
 
 # The real deal.
index 34ae1d17bd54e04224286dd451521ea41b287f80..bea586ea61370919b91fd2dc093d6c12d4353e6d 100644 (file)
@@ -1627,24 +1627,28 @@ ${pch3_output}: ${pch3_source} ${pch2_output}
 @GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
 @GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
 
-# This is a subset of the full install-headers rule.  We only need <cstddef>,
-# <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any
-# files which they include (and which we provide).  The last three headers
-# are installed by libsupc++, so only the first four and the sub-includes
-# are copied here.
+# This is a subset of the full install-headers rule.  We only need <ciso646>,
+# <cstddef>, <cfloat>, <limits>, <climits>, <cstdint>, <cstdlib>, <new>,
+# <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,
+# <cstdbool>, <type_traits>, <atomic>, and any files which they include (and
+# which we provide).
+# <new>, <typeinfo>, <exception>, and <initializer_list> are installed by
+# libsupc++, so only the others and the sub-includes are copied here.
 install-freestanding-headers:
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/bits
+       for file in c++0x_warning.h atomic_base.h; do \
+         $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/$${file} $(DESTDIR)${gxx_include_dir}/bits; done
        $(mkinstalldirs) $(DESTDIR)${host_installdir}
-       $(INSTALL_DATA) ${glibcxx_srcdir}/include/bits/c++0x_warning.h \
-         $(DESTDIR)${gxx_include_dir}/bits
        for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h \
          ${glibcxx_srcdir}/$(ABI_TWEAKS_SRCDIR)/cxxabi_tweaks.h \
          ${glibcxx_srcdir}/$(CPU_DEFINES_SRCDIR)/cpu_defines.h; do \
          $(INSTALL_DATA) $${file} $(DESTDIR)${host_installdir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir}
-       $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir}
+       for file in limits type_traits atomic; do \
+         $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done
        $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
-       for file in cstddef cstdlib cstdarg; do \
+       for file in ciso646 cstddef cfloat climits cstdint cstdlib \
+         cstdalign cstdarg cstdbool; do \
          $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
 
 # The real deal.