git: 9921563f43a9 - main - libicp: Fix build for powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Jul 2022 00:33:00 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=9921563f43a924d21c7bf43db4a34e724577db95
commit 9921563f43a924d21c7bf43db4a34e724577db95
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2022-07-01 00:30:26 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2022-07-01 00:30:26 +0000
libicp: Fix build for powerpc64le
The C sources use the assembly routines for little-endian powerpc64, and
the assembly files have ppc64le in their names, but the guard here was
for big-endian powerpc64.
Fixes: 1f1e2261e341 ("zfs: merge openzfs/zfs@deb121309")
---
cddl/lib/libicp/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cddl/lib/libicp/Makefile b/cddl/lib/libicp/Makefile
index 5b316453af9a..58ebb292c946 100644
--- a/cddl/lib/libicp/Makefile
+++ b/cddl/lib/libicp/Makefile
@@ -28,7 +28,7 @@ ASM_SOURCES_C =
ASM_SOURCES_AS = \
asm-aarch64/blake3/b3_aarch64_sse2.S \
asm-aarch64/blake3/b3_aarch64_sse41.S
-.elif ${MACHINE_ARCH} == "powerpc64"
+.elif ${MACHINE_ARCH} == "powerpc64le"
ASM_SOURCES_C =
ASM_SOURCES_AS = \
asm-ppc64/blake3/b3_ppc64le_sse2.S \