make cross build from arm64 work..

Reviewed by:	dim, imp, emaste
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D38762
This commit is contained in:
John-Mark Gurney 2023-02-24 05:47:03 +00:00
parent 163dd260e3
commit eb81dd8404
No known key found for this signature in database
GPG key ID: 205F0B33DD006ADA

View file

@ -31,6 +31,9 @@ TARGET_ARCH?= ${MACHINE_ARCH}
CFLAGS+= -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_SSE41 \
-DBLAKE3_NO_SSE2
.endif
.if ${TARGET_ARCH} != "arm64"
CFLAGS+= -DBLAKE3_USE_NEON=0
.endif
SRCDIR= llvm/lib