This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/54820] [4.8 Regression] ada: cannot find -lstdc++ since 4.8.0 20121002
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Oct 2012 07:27:28 +0000
- Subject: [Bug bootstrap/54820] [4.8 Regression] ada: cannot find -lstdc++ since 4.8.0 20121002
- Auto-submitted: auto-generated
- References: <bug-54820-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54820
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-10-22 07:27:28 UTC ---
Author: ebotcazou
Date: Mon Oct 22 07:27:21 2012
New Revision: 192666
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192666
Log:
PR bootstrap/54820
* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable.
(all-[+prefix+][+module+]): Pass stage1_args to sub-makes.
(all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
* configure.ac (have_static_libs): New variable and associated check.
(stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++
-static-libgcc if stage1_libs is empty and have_static_libs is yes.
* configure: Regenerate.
ada/
* gcc-interface/Make-lang.in (GCC_LINK): Remove hardcoded options.
Modified:
trunk/ChangeLog
trunk/Makefile.in
trunk/Makefile.tpl
trunk/configure
trunk/configure.ac
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/Make-lang.in