From 29e66501f7ce527c9abc01061836d37960712546 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 21 Jun 2010 19:39:32 +0000 Subject: [PATCH] * bootstrap-lto.mk: New. --- config/ChangeLog | 4 ++++ config/bootstrap-lto.mk | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 config/bootstrap-lto.mk diff --git a/config/ChangeLog b/config/ChangeLog index 78259e63597..506837b8c9a 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2010-06-21 Alexandre Oliva + + * bootstrap-lto.mk: New. + 2010-06-10 Paolo Bonzini * override.m4: Remove obsolete (<2.64) definitions. 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 -- 2.30.2