diff options
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 7a78f8d..d39b5f5 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,8 +8,8 @@ variant coverage : debug ; project : requirements - <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden" - <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" + <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -flto" + <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto" <variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once" <variant>coverage:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" |