* bootstrap-lto.mk: New.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 21 Jun 2010 19:39:32 +0000 (19:39 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 21 Jun 2010 19:39:32 +0000 (19:39 +0000)
config/ChangeLog
config/bootstrap-lto.mk [new file with mode: 0644]

index 78259e63597dde711537e38b9cec3499caa73cd7..506837b8c9a7b1c8f6716133e4b1ce70a4a8ab1f 100644 (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>
 
        * override.m4: Remove obsolete (<2.64) definitions.
diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk
new file mode 100644 (file)
index 0000000..14099a0
--- /dev/null
@@ -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
This page took 0.025227 seconds and 4 git commands to generate.