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 | cafeb8a7c4f50a3bec6f244283331c2827ea1dc9 (patch) | |
tree | 09933c7e6d180fe0ad8f002f3160625315a6a427 /config/bootstrap-lto.mk | |
parent | d1d5e97967edf98a24d2013aa134d60f20a8042a (diff) | |
download | gdb-cafeb8a7c4f50a3bec6f244283331c2827ea1dc9.tar.gz |
* bootstrap-lto.mk: New.
Diffstat (limited to 'config/bootstrap-lto.mk')
-rw-r--r-- | config/bootstrap-lto.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk new file mode 100644 index 00000000000..14099a08b8d --- /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 |