summaryrefslogtreecommitdiff
path: root/mysys/CMakeLists.txt
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-01-11 17:32:08 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-01-11 17:32:08 +0200
commit666565c7f00b0f39bbb459a428efd0093ed05fc8 (patch)
treed9b7dc26979995f0a332c50d2daf043c2a75866e /mysys/CMakeLists.txt
parent92abdcca5a5324f0727112ab2417d10c7a8d5094 (diff)
parent8de233af815f28d096ac4ff136525abc3ddc771d (diff)
downloadmariadb-git-666565c7f00b0f39bbb459a428efd0093ed05fc8.tar.gz
Merge 10.5 into 10.6
Diffstat (limited to 'mysys/CMakeLists.txt')
-rw-r--r--mysys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index 5b1a2608eeb..1a3e670878f 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -115,7 +115,7 @@ ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64")
COMPILE_FLAGS "-march=armv8-a+crc+crypto")
ENDIF()
ENDIF()
-ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64")
+ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|powerpc64")
SET(MYSYS_SOURCES ${MYSYS_SOURCES} crc32/crc32_ppc64.c crc32/crc32c_ppc.c)
SET_SOURCE_FILES_PROPERTIES(crc32/crc32_ppc64.c crc32/crc32c_ppc.c PROPERTIES
COMPILE_FLAGS "${COMPILE_FLAGS} -maltivec -mvsx -mpower8-vector -mcrypto -mpower8-vector")