Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2010-06-21 23:39:32 +0400
committerAlexandre Oliva <aoliva@redhat.com>2010-06-21 23:39:32 +0400
commit94880465ac1d2418b07881e96d97412824d3166a (patch)
tree9d0581ac4a75b5a2f27762e69cba4cb68e59f12f /config
parent74434376cf7acbe13d0b2488df30bcb1f8755a5a (diff)
* bootstrap-lto.mk: New.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/bootstrap-lto.mk8
2 files changed, 12 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 78259e635..506837b8c 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 000000000..14099a08b
--- /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