From 4e2c99baa34c8da4c001e97481b7db651a484c70 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 15 Feb 2019 21:49:24 +0000 Subject: Parallel lto only with gcc --- Jamroot.jam | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index 39e72d9..c480c8a 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,8 +8,10 @@ project : requirements "-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