From 4c9fa39d34065c3743605b20a49f3d4f12c813a9 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 28 May 2014 17:48:08 -0700 Subject: [PATCH] fix icc aesni warning where claims to be gcc --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 778b20193..66b1ae3f8 100644 --- a/configure.ac +++ b/configure.ac @@ -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