summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/liblzma/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/liblzma/config.h b/lib/liblzma/config.h
index 1d0f0bc..7dfc089 100644
--- a/lib/liblzma/config.h
+++ b/lib/liblzma/config.h
@@ -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
OpenPOWER on IntegriCloud