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 | 43182b501b317603e02d538d89599ca9d1ac785e (patch) | |
tree | 2211a9f280a873ce9571e80b19263fff7f6d89ba /Jamroot.jam | |
parent | Take pointer, not explicit reference of variant (diff) | |
download | slicer-1.2.4.tar.bz2 slicer-1.2.4.tar.xz slicer-1.2.4.zip |
Partially tested global visibility hidden in all projectsslicer-1.2.4
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 8 |
1 files changed, 4 insertions, 4 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" ; |