summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog5
-rw-r--r--config/bootstrap-lto.mk4
2 files changed, 7 insertions, 2 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 22a36414fc3..40e51f15212 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-01 Andi Kleen <ak@linux.intel.com>
+
+ * bootstrap-lto.mk (STAGE2_CFLAGS, STAGE3_CFLAGS): Change
+ to -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1.
+
2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR target/45084
diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk
index 14099a08b8d..785d15f81c2 100644
--- a/config/bootstrap-lto.mk
+++ b/config/bootstrap-lto.mk
@@ -1,8 +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
+STAGE2_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1
+STAGE3_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1
# Ada fails to build with LTO, turn it off for now.
BOOT_ADAFLAGS += -fno-lto