only enable immintrin when clang is used. The base gcc does not support it.

Reviewed by:	delphij
This commit is contained in:
Luigi Rizzo 2015-07-08 18:36:37 +00:00
parent 8954a9a4e6
commit b775c213c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285284

View file

@ -150,7 +150,8 @@
#define HAVE_ICONV 1
/* Define to 1 if you have the <immintrin.h> header file. */
#if defined(__FreeBSD__) && defined(__amd64__)
/* FreeBSD - only with clang because the base gcc does not support it */
#if defined(__clang__) && defined(__FreeBSD__) && defined(__amd64__)
#define HAVE_IMMINTRIN_H 1
#endif