fix icc aesni warning where claims to be gcc

This commit is contained in:
toddouska 2014-05-28 17:48:08 -07:00
parent e11dd9803a
commit 4c9fa39d34
1 changed files with 4 additions and 1 deletions

View File

@ -390,7 +390,10 @@ then
then
# GCC needs these flags, icc doesn't
# opt levels greater than 2 may cause problems on systems w/o aesni
AM_CFLAGS="$AM_CFLAGS -maes -msse4"
if test "$CC" != "icc"
then
AM_CFLAGS="$AM_CFLAGS -maes -msse4"
fi
fi
fi