| Submitter | H.J. Lu |
|---|---|
| Date | Oct. 20, 2010, 12:23 p.m. |
| Message ID | <AANLkTimToMDXXRWEy6bsB7GOY432fbGee1x_epsS1uBV@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/68429/ |
| State | New |
| Headers | show |
Comments
On 10/20/2010 02:23 PM, H.J. Lu wrote: > On Tue, Oct 19, 2010 at 11:26 PM, Paolo Bonzini<bonzini@gnu.org> wrote: >> On 10/20/2010 01:52 AM, H.J. Lu wrote: >>> >>> On Sun, Oct 17, 2010 at 3:07 PM, H.J. Lu<hongjiu.lu@intel.com> wrote: >>>> >>>> Hi, >>>> >>>> This patch enables lto for stage1 if LTO is enabled. OK for trunk? >> >> Maybe >> >> boot_language=$enable_lto >> >> in gcc/config/lto/config-lang.in is enough? >> > > It works. OK for trunk? Yes. Paolo
Patch
diff --git a/gcc/lto/config-lang.in b/gcc/lto/config-lang.in index aa84db1..72ed2dd 100644 --- a/gcc/lto/config-lang.in +++ b/gcc/lto/config-lang.in @@ -30,3 +30,6 @@ gtfiles="\$(srcdir)/lto/lto-tree.h \$(srcdir)/lto/lto-lang.c \$(srcdir)/lto/lto. # enabling this "language". To enable LTO functionality, use # --enable-lto when configuring the compiler. build_by_default=no + +# Add LTO to boot language if it is enabled.