PR bootstrap/54820
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 22 Oct 2012 07:32:04 +0000 (07:32 +0000)
committerEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 22 Oct 2012 07:32:04 +0000 (07:32 +0000)
commitb3676d82d7039ba759abd39223d75cc81388b468
tree6ddbc80adb4132755b5ff729afe0cb4c589abf1c
parenta8f9d13eda525d42916c33b0a9f4b98ca84f3aab
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.
ChangeLog
Makefile.in
Makefile.tpl
configure
configure.ac