From e21e05e493623135d65c13e9b53ad60aa639f2be Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 28 Dec 2008 19:15:24 +0000 Subject: [PATCH] make -fvisibility=hidden optional, since I can't figure out how to change the flags depending on toolset --- Jamfile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Jamfile b/Jamfile index 872562397..69d5d4b9e 100755 --- a/Jamfile +++ b/Jamfile @@ -158,11 +158,6 @@ rule building ( properties * ) { local result ; - if gcc in $(properties) || darwin in $(properties) - { - result += hidden ; - } - if ( linux in $(properties) || darwin in $(properties) ) && ( gcc in $(properties) @@ -402,8 +397,8 @@ local usage-requirements = @linking system:zlib-target # these compiler settings just makes the compiler standard conforming - msvc:/Zc:wchar_t - msvc:/Zc:forScope + msvc:/Zc:wchar_t + msvc:/Zc:forScope # disable bogus deprecation warnings on msvc8 msvc:_SCL_SECURE_NO_DEPRECATE msvc:_CRT_SECURE_NO_DEPRECATE @@ -413,8 +408,8 @@ local usage-requirements = # disable warning C4503: decorated name length exceeded, name was truncated msvc:/wd4503 # disable some warnings for gcc - gcc:-fno-strict-aliasing - gcc:-Wno-missing-braces + gcc:-fno-strict-aliasing + gcc:-Wno-missing-braces system:$(CXXFLAGS) system:$(LDFLAGS) ; @@ -439,6 +434,7 @@ lib torrent : # default build static + multi : # usage requirements $(usage-requirements)