diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-04 18:14:30 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-04 18:15:24 +0100 |
commit | 2fa5e51a523731809efeec567879513baabf4cf7 (patch) | |
tree | 0d510f6ca32085c03c010e1b663150bfec2caf5e /CMake/config.h.in | |
parent | 1e26d79d2e0756356fb6edb77bcb4418491ddb11 (diff) |
Correctly handle feature detection for sse4.2 and crc32
Mistakingly used #define instead of #cmakedefine
Diffstat (limited to 'CMake/config.h.in')
-rw-r--r-- | CMake/config.h.in | 8 |
1 files 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 |