From: Vsevolod Stakhov Date: Thu, 29 Mar 2018 17:53:32 +0000 (+0100) Subject: [Minor] Another try to fix broken gcc X-Git-Tag: 1.7.3~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b1a32cec378d2d7e17238b9b824b0a6643ce4d2;p=thirdparty%2Frspamd.git [Minor] Another try to fix broken gcc --- diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 3c83f21f9a..09a1db4678 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 static void foo(const char* a) __attribute__((__target__(\"avx2\"))); static void foo(const char* a)