diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-24 21:09:32 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-01-24 21:09:32 +0000 |
commit | f5dcb5ee4ef79ca7a888834885bf7dc2aff21ae6 (patch) | |
tree | 3045d9e278a0d49dd8fc54be0d5c30c271bc9e42 | |
parent | Remove flto cos I'm sick of it randomly breaking stuff (diff) | |
download | libjsonpp-f5dcb5ee4ef79ca7a888834885bf7dc2aff21ae6.tar.bz2 libjsonpp-f5dcb5ee4ef79ca7a888834885bf7dc2aff21ae6.tar.xz libjsonpp-f5dcb5ee4ef79ca7a888834885bf7dc2aff21ae6.zip |
Partially tested global visibility hidden in all projects
-rw-r--r-- | Jamroot.jam | 8 | ||||
-rw-r--r-- | libjsonpp/Jamfile.jam | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index cc16698..f42f929 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -8,13 +8,13 @@ variant coverage : debug ; project : requirements - <variant>release:<cflags>"-std=c++1y" + <variant>release:<cflags>"-std=c++1y -fvisibility=hidden" <variant>release:<linkflags>"-Wl,-z,defs,--warn-once,--gc-sections" - <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y" + <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once" - <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" + <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage" - <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC" + <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden" <variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC" ; diff --git a/libjsonpp/Jamfile.jam b/libjsonpp/Jamfile.jam index 4a21843..b9b9b33 100644 --- a/libjsonpp/Jamfile.jam +++ b/libjsonpp/Jamfile.jam @@ -21,7 +21,6 @@ lib jsonpp : <include>. <library>glibmm <define>yyFlexLexer=jsonBaseFlexLexer - <cflags>-fvisibility=hidden : : <include>. ; |