diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-29 18:53:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-29 18:53:32 +0100 |
commit | 1b1a32cec378d2d7e17238b9b824b0a6643ce4d2 (patch) | |
tree | 46b0f9876fa1acb5ef59d0045220f9a50c8a3108 /src/libcryptobox | |
parent | d85fd8877d691aab88a18c6d54cd72e1198a6844 (diff) | |
download | rspamd-1b1a32cec378d2d7e17238b9b824b0a6643ce4d2.tar.gz rspamd-1b1a32cec378d2d7e17238b9b824b0a6643ce4d2.zip |
[Minor] Another try to fix broken gcc
Diffstat (limited to 'src/libcryptobox')
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 4 |
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) |