title: ___sincos_stret undefined symbol when linking
body: <p>Like previously referred <a href="https://stackoverflow.com/questions/17553332/using-custom-built-opencv-for-ios-on-xcode-produces-sincos-stret-undefined-sy">here</a>, <code>___sincos_stret</code> can not be found when compiling a project that uses this symbol using the Xcode5 command line tools. </p>
  
  <p>In the above referenced thread a solution is posted for IOS targets (passing <code>-miphoneos-version-min=5.0</code> to the compiler), is there a solution for desktop (<code>x64</code>) targets?</p>
  
  <p>It for example happens for me when trying to compile <a href="http://polycode.org/" rel="nofollow noreferrer">polycode</a>.</p>
  
  <p><strong>Edit 2:</strong></p>
  
  <p>Strangely, after compiling the libraries referenced in the previous error manually, the error now happens to be located in <a href="http://opensource.apple.com/source/llvmCore/llvmCore-3418.0.78/include/llvm-c/lto.h?txt" rel="nofollow noreferrer">lto.o</a>, which is an internal llvm header itself...</p>
  
  <pre><code>undef: ___sincos_stret
  Undefined symbols for architecture x86_64:
    "___sincos_stret", referenced from:
        _mdct_init in lto.o
        _dradfg in lto.o
  </code></pre>
  
  <p>I'm running OSX 10.9 DP with Xcode 5. <a href="http://pastebin.com/QHctKDSK" rel="nofollow noreferrer">This is the link step</a>.</p>