diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-28 14:44:36 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-28 14:44:36 +0300 |
commit | 9ef36faa614528b66e0a6ba58a4c40b246658b83 (patch) | |
tree | 5054626ad161f207322c580486eb2ee36ff61d64 /config.h.cmake | |
parent | c14ecc750037f666ad1d39927ac0eb1ab4543506 (diff) | |
download | mariadb-git-9ef36faa614528b66e0a6ba58a4c40b246658b83.tar.gz |
MDEV-23618 InnoDB lacks IA-32 CRC-32C acceleration on GCC 4
When MDEV-22669 introduced CRC-32C acceleration to IA-32,
it worked around a compiler bug by disabling the acceleration
on GCC 4 for IA-32 altogether, even though the compiler bug
only affects -fPIC builds that are targeting IA-32.
Let us extend the solution fe5dbfe723427a3606c41409626dc853f997e679
and define HAVE_CPUID_INSTRUCTION that allows us to implement
a necessary and sufficient work-around of the compiler bug.
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index 0de5c2be3e0..3e41e0ac3af 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -103,6 +103,7 @@ #cmakedefine HAVE_LIBWRAP 1 #cmakedefine HAVE_SYSTEMD 1 +#cmakedefine HAVE_CPUID_INSTRUCTION 1 #cmakedefine HAVE_CLMUL_INSTRUCTION 1 #cmakedefine HAVE_CRC32_VPMSUM 1 |