Ticket #9865: math.patch

File math.patch, 1.1 KB (added by Steven Watanabe, 9 years ago)

Patch to fix the issue

  • build/Jamfile.v2

    diff --git a/build/Jamfile.v2 b/build/Jamfile.v2
    index 02f96d4..e1ba290 100644
    a b project  
    1313      #<toolset>intel-linux:<pch>off
    1414      <toolset>intel-darwin:<pch>off
    1515      <toolset>msvc-7.1:<pch>off
    16       <toolset>gcc-mingw:<pch>off
     16      <toolset>gcc,<target-os>windows:<pch>off
    1717      #<toolset>gcc:<cxxflags>-fvisibility=hidden
    1818      <toolset>intel-linux:<cxxflags>-fvisibility=hidden
    1919      <toolset>sun:<cxxflags>-xldscope=hidden
  • test/Jamfile.v2

    diff --git a/test/Jamfile.v2 b/test/Jamfile.v2
    index f059255..e0839d5 100644
    a b project  
    3636       <toolset>msvc:<cxxflags>/wd4189 # local variable is initialized but not referenced
    3737           <toolset>msvc-7.1:<source>../vc71_fix//vc_fix
    3838      <toolset>msvc-7.1:<pch>off
    39       <toolset>gcc-mingw:<pch>off
     39      <toolset>gcc,<target-os>windows:<pch>off
    4040      <toolset>borland:<runtime-link>static
    4141      # <toolset>msvc:<cxxflags>/wd4506 has no effect?
    4242      # suppress xstring(237) : warning C4506: no definition for inline function