diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2010-06-21 19:39:32 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2010-06-21 19:39:32 +0000 |
commit | c083808de6643f1d6500fffa5d4a5dcde1b8bbb9 (patch) | |
tree | 8a6b5a2d535265b7e88aa4457f664d1d1438b2de /config | |
parent | 9b1721ff20e1cab2bc7e5f14326bee39bc9dac3a (diff) | |
download | binutils-redhat-c083808de6643f1d6500fffa5d4a5dcde1b8bbb9.tar.gz |
* bootstrap-lto.mk: New.
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/bootstrap-lto.mk | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 78259e6359..506837b8c9 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2010-06-21 Alexandre Oliva <aoliva@redhat.com> + + * bootstrap-lto.mk: New. + 2010-06-10 Paolo Bonzini <bonzini@gnu.org> * override.m4: Remove obsolete (<2.64) definitions. diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk new file mode 100644 index 0000000000..14099a08b8 --- /dev/null +++ b/config/bootstrap-lto.mk @@ -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 |