mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 04:25:51 +08:00
Makefile.am (hashtable_c++0x.lo, [...]): Use -fimplicit-templates.
2013-02-11 Benjamin Kosnik <bkoz@redhat.com> * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o): Use -fimplicit-templates. * src/c++11/Makefile.in: Regenerate. * src/c++11/hashtable_c++0x.cc: Remove instantiation for std::lower_bound template. From-SVN: r195966
This commit is contained in:
parent
6e310c46bb
commit
6e1d47c46a
@ -1,3 +1,11 @@
|
||||
2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
|
||||
Use -fimplicit-templates.
|
||||
* src/c++11/Makefile.in: Regenerate.
|
||||
* src/c++11/hashtable_c++0x.cc: Remove instantiation for
|
||||
std::lower_bound template.
|
||||
|
||||
2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
|
||||
|
@ -60,6 +60,13 @@ vpath % $(top_srcdir)/src/c++11
|
||||
|
||||
libc__11convenience_la_SOURCES = $(sources) $(inst_sources)
|
||||
|
||||
# Use special rules for the hashtable.cc file so that all
|
||||
# the generated template functions are also instantiated.
|
||||
hashtable_c++0x.lo: hashtable_c++0x.cc
|
||||
$(LTCXXCOMPILE) -fimplicit-templates -c $<
|
||||
hashtable_c++0x.o: hashtable_c++0x.cc
|
||||
$(CXXCOMPILE) -fimplicit-templates -c $<
|
||||
|
||||
# AM_CXXFLAGS needs to be in each subdirectory so that it can be
|
||||
# modified in a per-library or per-sub-library way. Need to manually
|
||||
# set this option because CONFIG_CXXFLAGS has to be after
|
||||
|
@ -627,6 +627,13 @@ uninstall-am:
|
||||
|
||||
vpath % $(top_srcdir)/src/c++11
|
||||
|
||||
# Use special rules for the hashtable.cc file so that all
|
||||
# the generated template functions are also instantiated.
|
||||
hashtable_c++0x.lo: hashtable_c++0x.cc
|
||||
$(LTCXXCOMPILE) -fimplicit-templates -c $<
|
||||
hashtable_c++0x.o: hashtable_c++0x.cc
|
||||
$(CXXCOMPILE) -fimplicit-templates -c $<
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
@ -94,11 +94,4 @@ namespace __detail
|
||||
|
||||
_GLIBCXX_END_NAMESPACE_VERSION
|
||||
} // namespace __detail
|
||||
|
||||
// Instantiations.
|
||||
template
|
||||
const unsigned long*
|
||||
lower_bound<const unsigned long*, size_t>(const unsigned long*,
|
||||
const unsigned long*,
|
||||
const size_t&);
|
||||
} // namespace std
|
||||
|
Loading…
Reference in New Issue
Block a user