diff options
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 09a1db467..de552a805 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -71,9 +71,11 @@ IF("${ARCH}" STREQUAL "x86_64") #define __AVX2__ #endif +#ifndef __clang__ #if __GNUC__ <= 4 && __GNUC_MINOR__ <= 8 #error Broken due to compiler bug #endif +#endif #include <immintrin.h> static void foo(const char* a) __attribute__((__target__(\"avx2\"))); |