From 267f4b9e5c3a78b8b97ad158cde4dd4d0dc19fe0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 20 Aug 2018 21:21:44 +0100 Subject: Only GCC supports -flto=N --- Jamroot.jam | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Jamroot.jam') diff --git a/Jamroot.jam b/Jamroot.jam index 811c240..0ffaffb 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -10,8 +10,10 @@ project ICE_CPP11_MAPPING "-std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden" "-Wl,-z,defs,--warn-once,--gc-sections" - release:"-flto=2" - release:"-flto=2" + release:"-flto" + gcc:release:"-flto=2" + release:"-flto" + gcc:release:"-flto=2" debug:"-W -Wall -Werror -Wextra" coverage:"--coverage" coverage:"--coverage" -- cgit v1.2.3