aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/config/bootstrap-lto.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/config/bootstrap-lto.mk')
-rw-r--r--gcc-4.8.1/config/bootstrap-lto.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.8.1/config/bootstrap-lto.mk b/gcc-4.8.1/config/bootstrap-lto.mk
new file mode 100644
index 000000000..bbd3515ea
--- /dev/null
+++ b/gcc-4.8.1/config/bootstrap-lto.mk
@@ -0,0 +1,5 @@
+# This option enables LTO for stage2 and stage3.
+
+STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1
+STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1
+STAGEprofile_CFLAGS += -fno-lto