diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-02-11 18:37:02 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-02-11 18:37:02 +0000 |
commit | c79c6f3b144dab37f88878e17d0c315645140bdf (patch) | |
tree | 925ad7e6bee30adcb6a9d5b27b74ebadda70ffda /Jamroot.jam | |
parent | Prevent reading beyond end of mem mapped file (diff) | |
download | gentoobrowse-api-c79c6f3b144dab37f88878e17d0c315645140bdf.tar.bz2 gentoobrowse-api-c79c6f3b144dab37f88878e17d0c315645140bdf.tar.xz gentoobrowse-api-c79c6f3b144dab37f88878e17d0c315645140bdf.zip |
Add some nice cxxflags
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index a248b61..23e2bf7 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -7,9 +7,9 @@ variant coverage : debug ; project : requirements - <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden" - <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>debug:<cxxflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" + <variant>release:<cxxflags>"-std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -flto=2" + <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections -flto=2" + <variant>debug:<cxxflags>"-W -Wall -Wextra -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" <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage" |