From 2fa5e51a523731809efeec567879513baabf4cf7 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 4 Feb 2019 18:14:30 +0100 Subject: Correctly handle feature detection for sse4.2 and crc32 Mistakingly used #define instead of #cmakedefine --- CMake/config.h.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMake/config.h.in b/CMake/config.h.in index 98a81ad6c..74d78fdb2 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -74,6 +74,10 @@ /* Group of the root user */ #cmakedefine ROOT_GROUP "${ROOT_GROUP}" +/* defined if __builtin_ia32_crc32{s,d}i() exists in an sse4.2 target */ +#cmakedefine HAVE_FMV_SSE42_AND_CRC32 +#cmakedefine HAVE_FMV_SSE42_AND_CRC32DI + #define APT_8_CLEANER_HEADERS #define APT_9_CLEANER_HEADERS #define APT_10_CLEANER_HEADERS @@ -81,7 +85,3 @@ /* unrolling is faster combined with an optimizing compiler */ #define SHA2_UNROLL_TRANSFORM - -/* defined if __builtin_ia32_crc32{s,d}i() exists in an sse4.2 target */ -#define HAVE_FMV_SSE42_AND_CRC32 -#define HAVE_FMV_SSE42_AND_CRC32DI -- cgit v1.2.3