diff --git a/Jamfile b/Jamfile index 3ebc084c2..c100d6c24 100755 --- a/Jamfile +++ b/Jamfile @@ -26,7 +26,9 @@ rule linking ( properties * ) if sha-1 in $(properties) || pe in $(properties) { - if windows in $(properties) + # exclude gcc from a regular windows build to make mingw + # link against the regular unix library name + if windows in $(properties) && ! gcc in $(properties) { result += ssleay32 libeay32 @@ -286,6 +288,9 @@ local usage-requirements = msvc,release:/OPT:REF # 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 ; project torrent ;