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
This commit is contained in:
1 parent
2bdc7899a1
commit
449e6d7dff
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user