summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Skarvada <jskarvad@redhat.com>2023-04-26 13:48:41 +0100
committerPádraig Brady <P@draigBrady.com>2023-04-26 13:51:42 +0100
commitb16553cdad35c286a6078b1bfa503df59403be2b (patch)
tree37ebcfba239c8d61eff872077ead503a498a3ba1
parent3fb0cc80fa5e1cede9ec05303a70c26d0d23ca1d (diff)
downloadcoreutils-b16553cdad35c286a6078b1bfa503df59403be2b.tar.gz
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.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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;
}
]])