diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-03-25 14:28:58 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-03-25 14:28:58 +0000 |
commit | 799e562284fd4df20287cf96cc2920b72d43aad6 (patch) | |
tree | 4ef3f61489b5424e452a4e30196bc9211505aed0 | |
parent | ed2d6f77c3342caad41fd7dc75389108fe32a0e8 (diff) |
devel/rkcommon: fix build on non-ARM non-x86
Disable SIMD, since it's not available on POWER or RISC-V.
-rw-r--r-- | devel/rkcommon/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/rkcommon/Makefile b/devel/rkcommon/Makefile index 2752a033e403..eb1f0d1f728b 100644 --- a/devel/rkcommon/Makefile +++ b/devel/rkcommon/Makefile @@ -23,4 +23,10 @@ CMAKE_TESTING_ON= BUILD_TESTING PLIST_SUB= PORTVERSION=${PORTVERSION} +.include <bsd.port.options.mk> + +.if ${ARCH} != aarch64 && ${ARCH} != amd64 && !${ARCH:Marmv?} && ${ARCH} != i386 +CMAKE_ARGS+= -DRKCOMMON_NO_SIMD:BOOL=ON +.endif + .include <bsd.port.mk> |