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 | 6727de96668d6b820f108b4176e6e96646548b40 (patch) | |
tree | 8f14b5469100a3da3d3eafa201358a16b4fd2b39 | |
parent | Fix test case use of nullptr (diff) | |
download | libadhocutil-6727de96668d6b820f108b4176e6e96646548b40.tar.bz2 libadhocutil-6727de96668d6b820f108b4176e6e96646548b40.tar.xz libadhocutil-6727de96668d6b820f108b4176e6e96646548b40.zip |
Partially tested global visibility hidden in all projects
-rw-r--r-- | Jamroot.jam | 8 | ||||
-rw-r--r-- | libadhocutil/Jamfile.jam | 1 | ||||
-rw-r--r-- | libadhocutil/unittests/Jamfile.jam | 1 |
3 files changed, 4 insertions, 6 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/libadhocutil/Jamfile.jam b/libadhocutil/Jamfile.jam index 17f5e45..b957347 100644 --- a/libadhocutil/Jamfile.jam +++ b/libadhocutil/Jamfile.jam @@ -20,7 +20,6 @@ lib adhocutil : <library>boost_thread <library>curl <library>dl - <cflags>-fvisibility=hidden : : <include>. ; diff --git a/libadhocutil/unittests/Jamfile.jam b/libadhocutil/unittests/Jamfile.jam index ea93cb4..3991ad5 100644 --- a/libadhocutil/unittests/Jamfile.jam +++ b/libadhocutil/unittests/Jamfile.jam @@ -136,7 +136,6 @@ run lib utilTestClasses : utilTestClasses.cpp : - <cflags>-fvisibility=hidden <library>..//adhocutil : : <define>BOOST_TEST_DYN_LINK |