diff options
-rw-r--r-- | Jamroot.jam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 864077e..a823411 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,8 +7,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" |