Mercurial > mplayer.hg
changeset 15591:3d32bc09b975
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>
author | diego |
---|---|
date | Sun, 29 May 2005 23:16:22 +0000 |
parents | e848b20cd449 |
children | aadde9ec9058 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun May 29 19:05:32 2005 +0000 +++ b/configure Sun May 29 23:16:22 2005 +0000 @@ -2451,7 +2451,7 @@ 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