mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Disable the accelerated arm64 sha25 in static libraries
We don't have ifunc support in static arm64 binaries. Until we do disable the accelerated sha256 code in a static libmd as it uses an ifunc. Reported by: brd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
fc7682b17f
commit
c81ea895b5
|
@ -131,7 +131,7 @@ ACFLAGS+= -DELF -Wa,--noexecstack
|
|||
.endif
|
||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||
SRCS+= sha256c_arm64.c
|
||||
CFLAGS+= -DARM64_SHA2
|
||||
SHARED_CFLAGS+= -DARM64_SHA2
|
||||
CFLAGS.sha256c_arm64.c+= -march=armv8-a+crypto
|
||||
.endif
|
||||
.endif # ${USE_ASM_SOURCES} != 0
|
||||
|
|
Loading…
Reference in a new issue