Configure options to allow stunnel to use fastmath

This commit is contained in:
Nickolas Lapp
2015-07-17 15:05:04 -06:00
parent 7d44ed3989
commit cb3873ea03

View File

@ -1783,12 +1783,6 @@ then
ENABLED_CODING="yes" ENABLED_CODING="yes"
fi fi
# For now, requires no fastmath, turn off if on
if test "x$ENABLED_FASTMATH" = "xyes"
then
ENABLED_FASTMATH="no"
fi
# Requires sessioncerts make sure on # Requires sessioncerts make sure on
if test "x$ENABLED_SESSIONCERTS" = "xno" if test "x$ENABLED_SESSIONCERTS" = "xno"
then then
@ -1803,7 +1797,8 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL" AM_CFLAGS="$AM_CFLAGS -DHAVE_CRL"
AM_CONDITIONAL([BUILD_CRL], [test "x$ENABLED_CRL" = "xyes"]) AM_CONDITIONAL([BUILD_CRL], [test "x$ENABLED_CRL" = "xyes"])
fi fi
AM_CFLAGS="$AM_CFLAGS -DHAVE_STUNNEL" # Stunnel requires timing resistant for stack reasons
AM_CFLAGS="$AM_CFLAGS -DHAVE_STUNNEL -DTFM_TIMING_RESISTANT"
fi fi
@ -1856,11 +1851,7 @@ FASTMATH_DEFAULT=no
if test "$host_cpu" = "x86_64" if test "$host_cpu" = "x86_64"
then then
# fastmath turned off for stunnel by default FASTMATH_DEFAULT=yes
if test "x$ENABLED_STUNNEL" = "xno"
then
FASTMATH_DEFAULT=yes
fi
fi fi
# fastmath # fastmath