diff --git a/configure b/configure index b35d120..9bc09b6 100755 --- a/configure +++ b/configure @@ -624,8 +624,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="-O3 -fno-fast-math $CFLAGS" + LDFLAGS="-fno-fast-math $LDFLAGS" else CFLAGS="-O3 -ffast-math $CFLAGS" + LDFLAGS="-ffast-math $LDFLAGS" fi if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then