summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-25 16:01:36 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-25 16:01:36 +0000
commit65128e006b4132f6ff7be83433a10f37931048eb (patch)
tree887e403d37fc862afa63723a6c02011a474298f9 /config
parent519393c52a090d2957eb3562605656a13303b253 (diff)
downloadgcc-65128e006b4132f6ff7be83433a10f37931048eb.tar.gz
config/ChangeLog:
PR bootstrap/65537 * bootstrap-lto-noplugin.mk: New build configuration. gcc/ChangeLog: PR bootstrap/65537 * doc/install.texi (Building a native compiler): Document new bootstrap-lto-noplugin configuration. Mention that bootstrap-lto configuration assumes that the host supports the linker plugin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/bootstrap-lto-noplugin.mk6
2 files changed, 11 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 12757de7a8d..eda008285e8 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-25 Uros Bizjak <ubizjak@gmail.com>
+
+ PR bootstrap/65537
+ * bootstrap-lto-noplugin.mk: New build configuration.
+
2015-02-25 Uros Bizjak <ubizjak@gmail.com>
Revert:
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