From b16553cdad35c286a6078b1bfa503df59403be2b Mon Sep 17 00:00:00 2001 From: Jaroslav Skarvada Date: Wed, 26 Apr 2023 13:48:41 +0100 Subject: build: fix build with -mno-ssse3 Avoid the following error with -mno-ssse3: inlining failed in call to 'always_inline' '_mm_shuffle_epi8': target specific option mismatch * configure.ac: Ensure we use ssse3 specific code when checking whether to enable the pclmul cksum implementation. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 2b2f9468d..664d25ec6 100644 --- a/configure.ac +++ b/configure.ac @@ -578,6 +578,7 @@ AC_COMPILE_IFELSE( { __m128i a, b; a = _mm_clmulepi64_si128 (a, b, 0x00); + a = _mm_shuffle_epi8 (a, b); return 1; } ]]) -- cgit v1.2.1