From: Martin Liska Date: Tue, 16 Apr 2019 15:24:53 +0000 (+0200) Subject: Filter out LTO in config/bootstrap-lto-lean.mk. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee06f6463af7f333eb62f17f29d269dc2516707d;p=gcc.git Filter out LTO in config/bootstrap-lto-lean.mk. 2019-04-16 Martin Liska * bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS. From-SVN: r270393 --- diff --git a/config/ChangeLog b/config/ChangeLog index 258dcb128f2..37456f9fcaf 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2019-04-16 Martin Liska + + * bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS. + 2019-04-09 Martin Liska * bootstrap-lto-lean.mk: New file. diff --git a/config/bootstrap-lto-lean.mk b/config/bootstrap-lto-lean.mk index ee36f6fe544..79cea50a4c6 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