From 70a2a9164fdd45a8a1a634d1b3b310096666954a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Jan 2016 21:09:32 +0000 Subject: Partially tested global visibility hidden in all projects --- Jamroot.jam | 8 ++++---- libsqlitepp/Jamfile.jam | 2 -- 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 - release:"-std=c++1y" + release:"-std=c++1y -fvisibility=hidden" release:"-Wl,-z,defs,--warn-once,--gc-sections" - debug:"-W -Wall -Werror -Wwrite-strings -std=c++1y" + debug:"-W -Wall -Werror -Wwrite-strings -std=c++1y -fvisibility=hidden" debug:"-Wl,-z,defs,--warn-once" - coverage:"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage" + coverage:"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage -fvisibility=hidden" coverage:"-Wl,-z,defs,--warn-once --coverage" - component:"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC" + component:"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC -fvisibility=hidden" component:"-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 : boost_date_time boost_system boost_filesystem - -fvisibility=hidden - -fvisibility=hidden : : . ..//glibmm -- cgit v1.2.3