From ee06f6463af7f333eb62f17f29d269dc2516707d Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 16 Apr 2019 17:24:53 +0200 Subject: [PATCH] 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 --- config/ChangeLog | 4 ++++ config/bootstrap-lto-lean.mk | 1 + 2 files changed, 5 insertions(+) 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 -- 2.30.2