summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2021-01-11 09:02:36 +1100
committerDaniel Black <daniel@mariadb.org>2021-01-11 09:06:29 +1100
commit1015cbde5985e7e89c887ab30ce7c772671194c5 (patch)
tree70c6623b99d4e52880f7fbbc8f92cafd565ea301 /mysys
parent49b87749513fd931eb874d4559b34ed6aeec8f05 (diff)
downloadmariadb-git-1015cbde5985e7e89c887ab30ce7c772671194c5.tar.gz
MDEV-24556: Build does not recognize powerpc64 (OpenBSD)
Reviewer: Daniel Black
Diffstat (limited to 'mysys')
-rw-r--r--mysys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index 6a3a1efaeca..e15257a9572 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")