configure.ac: when --enable-asm (default on), for gcc amd64 target always include -msse4 even if not --enable-intelasm (it's needed for TFM_X86_64 inline asm).
This commit is contained in:
parent
c0d831ea3a
commit
dff5344d82
12
configure.ac
12
configure.ac
@ -1115,6 +1115,18 @@ then
|
||||
fi
|
||||
fi
|
||||
AS_IF([test "x$ENABLED_AESGCM" != "xno"],[AM_CCASFLAGS="$AM_CCASFLAGS -DHAVE_AESGCM"])
|
||||
|
||||
elif test "$host_cpu" = "x86_64"
|
||||
then
|
||||
if test "$GCC" = "yes"
|
||||
then
|
||||
# GCC needs these flags, icc doesn't
|
||||
# opt levels greater than 2 may cause problems on systems w/o aesni
|
||||
if test "$CC" != "icc"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -msse4"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$ENABLED_INTELASM" = "yes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user