diff --git a/configure b/configure index d26ace1..47c94b8 100755 --- a/configure +++ b/configure @@ -441,8 +441,10 @@ elif [ $ARCH = ARM ]; then # arm-gcc-4.2 produces incorrect output with -ffast-math # and it doesn't save any speed anyway on 4.4, so disable it CFLAGS="-O4 -fno-fast-math $CFLAGS" + LDFLAGS="-fno-fast-math $LDFLAGS" else CFLAGS="-O4 -ffast-math $CFLAGS" + LDFLAGS="-ffast-math $LDFLAGS" fi if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then