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)