]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Another try to fix broken gcc
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Mar 2018 17:53:32 +0000 (18:53 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Mar 2018 17:53:32 +0000 (18:53 +0100)
src/libcryptobox/CMakeLists.txt

index 3c83f21f9accd0323e599134428f263708b9e8c8..09a1db4678a9f6d309a4310cecd5cf920bbbe591 100644 (file)
@@ -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)