Skip libstdc++ debug build in early bootstrap stages
commit86f73527aa3556b7d5ead9b03d8a5c91d351a409
authorJonathan Wakely <jwakely@redhat.com>
Thu, 20 Jun 2019 14:17:57 +0000 (20 15:17 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 20 Jun 2019 14:17:57 +0000 (20 15:17 +0100)
tree0604cda3573398f131595dab0039ed64be1c0c6a
parentd306dee31dc030d1a9992927eb17b8171aaf8308
Skip libstdc++ debug build in early bootstrap stages

As mentioned in PR 90770, this is a patch that Debian have been carrying
for some time. The additional unoptimized copies of libstdc++ libs that
get built during each stage are never going to be used, so don't bother
building them.

For a profiled bootstrap this means we won't train the compiler on the
unoptimized library code with assertions enabled, but that doesn't seem
like a big problem, as the same code has already been compiled once for
the main libstdc++ library.

* acinclude.m4 (GLIBCXX_ENABLE_DEBUG): Only do debug build for final
stage of bootstrap.
* configure: Regenerate.

From-SVN: r272509
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure