diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-29 23:16:22 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-29 23:16:22 +0000 |
commit | 449e6d7dffd5bfcec0cce7e59241cfb325041423 (patch) | |
tree | 869fc797fcbfecd4143c805304601f8a7c2b1960 /configure | |
parent | 2bdc7899a179504ccc3b8fcea032e224867c6805 (diff) | |
download | mpv-449e6d7dffd5bfcec0cce7e59241cfb325041423.tar.bz2 mpv-449e6d7dffd5bfcec0cce7e59241cfb325041423.tar.xz |
The default CFLAGS settings include -ffast-math and GCC 3.4.3 therefore
optimizes the lrintf call in the test away, effectively turning it into
a NOP. The attached patch forces -ffast-math of for this test.
patch by Joerg Sonnenberger <joerg - at -britannica - dot - bec - dot - de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15592 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2451,7 +2451,7 @@ echores "$_posix4" echocheck "lrintf" cat > $TMPC << EOF #include <math.h> -int main(void) { (void) lrintf(0.0); return 0; } +int main(void) { long (*foo)(double); foo = lrintf; (void)(*foo)(0.0); return 0; } EOF _lrintf=no cc_check $_ld_lm && _lrintf=yes |