Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2021 12:15:11 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a9472032211d - main - Revert "Disable the accelerated arm64 sha25 in static libraries"
Message-ID:  <202108301215.17UCFBfD095408@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=a9472032211ddb06cd7d73b941c335b16550b558

commit a9472032211ddb06cd7d73b941c335b16550b558
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-08-30 09:34:30 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2021-08-30 09:36:43 +0000

    Revert "Disable the accelerated arm64 sha25 in static libraries"
    
    This is now unneeded as arm64 can now resolve ifuncs in static binaries
    
    This reverts commit c81ea895b563c4d1e39468a8525284b7474fe850.
    
    Sponsored by:   The FreeBSD Foundation
---
 lib/libmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index ee92b7cb71ab..480796ae5029 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -131,7 +131,7 @@ ACFLAGS+= -DELF -Wa,--noexecstack
 .endif
 .if ${MACHINE_CPUARCH} == "aarch64"
 SRCS+=	sha256c_arm64.c
-SHARED_CFLAGS+= -DARM64_SHA2
+CFLAGS+= -DARM64_SHA2
 CFLAGS.sha256c_arm64.c+= -march=armv8-a+crypto
 .endif
 .endif # ${USE_ASM_SOURCES} != 0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108301215.17UCFBfD095408>