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 | e85882ea307bc79e376f9e0a223e452bd8928b4b (patch) | |
tree | ab12d2d45c51d38f6472064bb4613a3e3e6056f3 | |
parent | Close select tx after close cursor, add error checking (diff) | |
download | libdbpp-postgresql-e85882ea307bc79e376f9e0a223e452bd8928b4b.tar.bz2 libdbpp-postgresql-e85882ea307bc79e376f9e0a223e452bd8928b4b.tar.xz libdbpp-postgresql-e85882ea307bc79e376f9e0a223e452bd8928b4b.zip |
Partially tested global visibility hidden in all projects
-rw-r--r-- | Jamroot.jam | 8 | ||||
-rw-r--r-- | libpqpp/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/libpqpp/Jamfile.jam b/libpqpp/Jamfile.jam index 359edbc..b1578ab 100644 --- a/libpqpp/Jamfile.jam +++ b/libpqpp/Jamfile.jam @@ -20,7 +20,6 @@ lib dbpp-postgresql : <library>dbppcore <library>boost_date_time <library>boost_system - <cflags>-fvisibility=hidden : : <include>. <cflags>"-I`pg_config --includedir`" |