From 99054e8642e8258388d3fa97b1f9c90c33b4fe11 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Feb 2019 18:07:10 +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 acc0484..ab6e837 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:"-W -Wall -Werror -Wextra -std=c++1y --coverage" coverage:"--coverage" -- cgit v1.2.3