summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 21:09:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2016-01-24 21:09:32 +0000
commit70a2a9164fdd45a8a1a634d1b3b310096666954a (patch)
treeb953fc2effb8aa2ec59c61e5f5cb4d34d8ed0b02
parentImprove and centralise transaction handling logic (diff)
downloadlibdbpp-sqlite-70a2a9164fdd45a8a1a634d1b3b310096666954a.tar.bz2
libdbpp-sqlite-70a2a9164fdd45a8a1a634d1b3b310096666954a.tar.xz
libdbpp-sqlite-70a2a9164fdd45a8a1a634d1b3b310096666954a.zip
Partially tested global visibility hidden in all projects
-rw-r--r--Jamroot.jam8
-rw-r--r--libsqlitepp/Jamfile.jam2
2 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/libsqlitepp/Jamfile.jam b/libsqlitepp/Jamfile.jam
index bdb72fb..6d99b4b 100644
--- a/libsqlitepp/Jamfile.jam
+++ b/libsqlitepp/Jamfile.jam
@@ -16,8 +16,6 @@ lib dbpp-sqlite :
<library>boost_date_time
<library>boost_system
<library>boost_filesystem
- <cflags>-fvisibility=hidden
- <cflags>-fvisibility=hidden
: :
<include>.
<library>..//glibmm