only have fastmath on by default on x86_64
This commit is contained in:
parent
593e466a44
commit
b3d99f2d32
12
configure.ac
12
configure.ac
@ -1121,11 +1121,19 @@ then
|
||||
fi
|
||||
|
||||
|
||||
# set fastmath default
|
||||
FASTMATH_DEFAULT=no
|
||||
|
||||
if test "$target_cpu" = "x86_64"
|
||||
then
|
||||
FASTMATH_DEFAULT=yes
|
||||
fi
|
||||
|
||||
# fastmath
|
||||
AC_ARG_ENABLE([fastmath],
|
||||
[ --enable-fastmath Enable fast math for BigInts (default: enabled)],
|
||||
[ --enable-fastmath Enable fast math ops (default: enabled on x86_64)],
|
||||
[ ENABLED_FASTMATH=$enableval ],
|
||||
[ ENABLED_FASTMATH=yes ]
|
||||
[ ENABLED_FASTMATH=$FASTMATH_DEFAULT]
|
||||
)
|
||||
|
||||
if test "x$ENABLED_FASTMATH" = "xyes"
|
||||
|
Loading…
Reference in New Issue
Block a user