mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
libicp: unbreak for armv6 after recent OpenZFS import
The following upstream commit:727497ccdfmodule/icp/asm-arm/sha2: enable non-SIMD asm kernels on armv5/6 does indeed enable sha2 asm for earlier arm CPUs, but since libicp's Makefile was not updated, this leads to: ld: error: undefined reference due to --no-allow-shlib-undefined: zfs_sha256_block_armv7 Fix it by compiling sha256-armv7.S and sha512-armv7.S for armv6 too. Fixes:3494f7c019(cherry picked from commitfb17dfa0c8)
This commit is contained in:
parent
6bd08ccc9b
commit
2e4b1bef56
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ ASM_SOURCES_AS = \
|
|||
asm-x86_64/blake3/blake3_sse41.S
|
||||
|
||||
CFLAGS+= -D__amd64 -D_SYS_STACK_H -UHAVE_AES
|
||||
.elif ${MACHINE_ARCH} == "armv7"
|
||||
.elif ${MACHINE_ARCH} == "armv6" || ${MACHINE_ARCH} == "armv7"
|
||||
ASM_SOURCES_C =
|
||||
ASM_SOURCES_AS = \
|
||||
asm-arm/sha2/sha256-armv7.S \
|
||||
|
|
|
|||
Loading…
Reference in a new issue