darwin_no_libm.patch raw

   1  build: remove explicit -lm link from qttools
   2      
   3  This causes issues with at least the macOS cross build, and shouldn't
   4  actually be required anywhere else. GCC with libstdc++ will already get libm.
   5  
   6  --- a/qtbase/src/corelib/tools/tools.pri
   7  +++ b/qtbase/src/corelib/tools/tools.pri
   8  @@ -111,9 +111,6 @@ qtConfig(easingcurve) {
   9           tools/qtimeline.cpp
  10   }
  11   
  12  -# Note: libm should be present by default becaue this is C++
  13  -unix:!macx-icc:!vxworks:!haiku:!integrity:!wasm: LIBS_PRIVATE += -lm
  14  -
  15   TR_EXCLUDE += ../3rdparty/*
  16   
  17   # MIPS DSP
  18