aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-12-09 11:51:50 +0000
committerDimitry Andric <dim@FreeBSD.org>2023-12-09 11:51:50 +0000
commit1a4a9a50574d9b4b4db90a85bc253d340c93a8a0 (patch)
treef667a46d1120e683c8bfa3b61370734e7cc73f48
parent0fb9d5786bff57a7d5b2056fdbc1baaec9406885 (diff)
downloadsrc-1a4a9a50574d9b4b4db90a85bc253d340c93a8a0.tar.gz
src-1a4a9a50574d9b4b4db90a85bc253d340c93a8a0.zip
libicp_rescue: unbreak for armv6 after recent OpenZFS import
Similar to fb17dfa0c83c, fix libicp_rescue to include asm versions of sha2 on armv6, to unbreak the build of rescue. Fixes: 3494f7c019fc
-rw-r--r--cddl/lib/libicp_rescue/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libicp_rescue/Makefile b/cddl/lib/libicp_rescue/Makefile
index e129a2f3e0f9..cb2c868e2bc1 100644
--- a/cddl/lib/libicp_rescue/Makefile
+++ b/cddl/lib/libicp_rescue/Makefile
@@ -20,7 +20,7 @@ ASM_SOURCES_AS = \
asm-x86_64/blake3/blake3_sse41.S
CFLAGS+= -D__amd64 -D_SYS_STACK_H
-.elif ${MACHINE_ARCH} == "armv7"
+.elif ${MACHINE_ARCH} == "armv6" || ${MACHINE_ARCH} == "armv7"
ASM_SOURCES_C =
ASM_SOURCES_AS = \
asm-arm/sha2/sha256-armv7.S \