Add powerpc64le name as alternative to ppc64le (#1112)

* Add powerpc64le name as alternative to ppc64le

FreeBSD uses powerpc64le name for 64-bit POWER little endian.

* Remove parentheses

Co-authored-by: pkubaj <pkubaj@FreeBSD.org>
This commit is contained in:
Douglas Stebila 2021-10-19 08:48:51 -04:00 committed by GitHub
parent fff05ccf92
commit d071f2bc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "armel|armhf|armv7|arm32v7")
if(${OQS_DIST_BUILD})
set(OQS_DIST_ARM32v7_BUILD ON)
endif()
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le|powerpc64le")
set(ARCH "ppc64le")
set(ARCH_PPC64LE ON)
if(${OQS_DIST_BUILD})