summaryrefslogtreecommitdiff
path: root/config/bootstrap-lto-noplugin.mk
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-07-14 08:43:24 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-07-14 09:18:16 -0700
commit49d00f48e8e3c1331d367785f19c69867a47b4cd (patch)
tree5d9edd2b228cf66d312491ea7bf535647a0bcd27 /config/bootstrap-lto-noplugin.mk
parent99fe86f7999afd2743b08c550b10f083ae4bd9bd (diff)
Sync config files with GCC
Sync with GCC 2015-05-13 Eric Botcazou <ebotcazou@adacore.com> * sjlj.m4: New file. 2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: Change int to long long, and use bitfields of width 1 instead of 0. 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * bitfields.m4: New file. 2015-04-14 H.J. Lu <hongjiu.lu@intel.com> * bootstrap-mpx.mk: New file. 2015-03-25 Uros Bizjak <ubizjak@gmail.com> PR bootstrap/65537 * bootstrap-lto-noplugin.mk: New build configuration. 2014-11-13 Kirill Yukhin <kirill.yukhin@intel.com> * target-posix: New file. 2014-10-27 Tom Tromey <tromey@redhat.com> * gcc-plugin.m4: New file.
Diffstat (limited to 'config/bootstrap-lto-noplugin.mk')
-rw-r--r--config/bootstrap-lto-noplugin.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/bootstrap-lto-noplugin.mk b/config/bootstrap-lto-noplugin.mk
new file mode 100644
index 00000000000..a5073365b5a
--- /dev/null
+++ b/config/bootstrap-lto-noplugin.mk
@@ -0,0 +1,6 @@
+# This option enables LTO for stage2 and stage3 on
+# hosts without linker plugin support.
+
+STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
+STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
+STAGEprofile_CFLAGS += -fno-lto