Skip to content

Commit

Permalink
only enable immintrin when clang is used. The base gcc does not suppo…
Browse files Browse the repository at this point in the history
…rt it.

Reviewed by:	delphij
  • Loading branch information
Luigi Rizzo authored and Luigi Rizzo committed Jul 8, 2015
1 parent 8954a9a commit b775c21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/liblzma/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b775c21

Please sign in to comment.