Skip to content

Commit c1b7fed

Browse files
committed
module: resync part of Makefile.bsd
sha256-armv8.S and sha512-armv8.S need te same treatment as the sse bits; removal of -mgeneral-regs-only. This fixes errors about requiring NEON. Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
1 parent 3399a30 commit c1b7fed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

module/Makefile.bsd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,16 @@ CFLAGS.zstd_lazy.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
507507
CFLAGS.zstd_ldm.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
508508
CFLAGS.zstd_opt.c+= ${__ZFS_ZSTD_AARCH64_FLAGS}
509509

510+
sha256-armv8.o: sha256-armv8.S
511+
${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC} \
512+
-o ${.TARGET}
513+
${CTFCONVERT_CMD}
514+
515+
sha512-armv8.o: sha512-armv8.S
516+
${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC} \
517+
-o ${.TARGET}
518+
${CTFCONVERT_CMD}
519+
510520
b3_aarch64_sse2.o: b3_aarch64_sse2.S
511521
${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC} \
512522
-o ${.TARGET}

0 commit comments

Comments
 (0)