aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox')
-rw-r--r--src/libcryptobox/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt
index 3c83f21f9..09a1db467 100644
--- a/src/libcryptobox/CMakeLists.txt
+++ b/src/libcryptobox/CMakeLists.txt
@@ -71,6 +71,10 @@ IF("${ARCH}" STREQUAL "x86_64")
#define __AVX2__
#endif
+#if __GNUC__ <= 4 && __GNUC_MINOR__ <= 8
+#error Broken due to compiler bug
+#endif
+
#include <immintrin.h>
static void foo(const char* a) __attribute__((__target__(\"avx2\")));
static void foo(const char* a)