aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-04-16 17:24:53 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-04-16 15:24:53 +0000
commitee06f6463af7f333eb62f17f29d269dc2516707d (patch)
treef8fb4e93fa59c18013c4e3d1d6ac92203bad6a93 /config
parentef9387d8fe79219a106c3f9d6c6a87b0a9065d54 (diff)
downloadgcc-ee06f6463af7f333eb62f17f29d269dc2516707d.zip
gcc-ee06f6463af7f333eb62f17f29d269dc2516707d.tar.gz
gcc-ee06f6463af7f333eb62f17f29d269dc2516707d.tar.bz2
Filter out LTO in config/bootstrap-lto-lean.mk.
2019-04-16 Martin Liska <mliska@suse.cz> * bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS. From-SVN: r270393
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/bootstrap-lto-lean.mk1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 258dcb1..37456f9 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-16 Martin Liska <mliska@suse.cz>
+
+ * bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS.
+
2019-04-09 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: New file.
diff --git a/config/bootstrap-lto-lean.mk b/config/bootstrap-lto-lean.mk
index ee36f6f..79cea50 100644
--- a/config/bootstrap-lto-lean.mk
+++ b/config/bootstrap-lto-lean.mk
@@ -2,6 +2,7 @@
# Otherwise, LTO is used in only stage3.
STAGE3_CFLAGS += -flto=jobserver
+override STAGEtrain_CFLAGS := $(filter-out -flto=jobserver,$(STAGEtrain_CFLAGS))
STAGEtrain_GENERATOR_CFLAGS += -flto=jobserver
STAGEfeedback_CFLAGS += -flto=jobserver