]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR bootstrap/54820 (ada: cannot find -lstdc++ since 4.8.0 20121002)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 22 Oct 2012 07:27:21 +0000 (07:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 22 Oct 2012 07:27:21 +0000 (07:27 +0000)
commit0b21f5d363e20cb13510ed63dc70ff7fbf7fb7b2
tree95326cac0bf6c125aa3122071cd544b8e7e98091
parent562649ada4de8f4415602b3895e841e8a09ac105
re PR bootstrap/54820 (ada: cannot find -lstdc++ since 4.8.0 20121002)

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.

From-SVN: r192666
ChangeLog
Makefile.in
Makefile.tpl
configure
configure.ac
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Make-lang.in