* bootstrap-lto.mk: New.

This commit is contained in:
Alexandre Oliva 2010-06-21 19:39:32 +00:00
parent 74434376cf
commit 94880465ac
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-06-21 Alexandre Oliva <aoliva@redhat.com>
* bootstrap-lto.mk: New.
2010-06-10 Paolo Bonzini <bonzini@gnu.org> 2010-06-10 Paolo Bonzini <bonzini@gnu.org>
* override.m4: Remove obsolete (<2.64) definitions. * override.m4: Remove obsolete (<2.64) definitions.

8
config/bootstrap-lto.mk Normal file
View File

@ -0,0 +1,8 @@
# This option enables LTO for stage2 and stage3. It requires lto to
# be enabled for stage1 with --enable-stage1-languages.
STAGE2_CFLAGS += -flto
STAGE3_CFLAGS += -flto
# Ada fails to build with LTO, turn it off for now.
BOOT_ADAFLAGS += -fno-lto