git: 8115f43c2892 - releng/14.0 - libcrypto: Copy the arm64 header when building asm

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 25 Oct 2023 20:06:33 UTC
The branch releng/14.0 has been updated by emaste:

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

commit 8115f43c2892a5cc1460766f2697f358035a2e29
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-09-22 11:34:08 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-25 19:56:40 +0000

    libcrypto: Copy the arm64 header when building asm
    
    It may be needed when it's updated so is best to keep in sync with the
    assembly files.
    
    Reviewed by:    emaste
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D41938
    
    (cherry picked from commit c97a82d4a4a0288ed2a456f4ce41d57483724f17)
    (cherry picked from commit 5b413daf3a3b67d2d499256907883a96d7c4d13c)
    
    Approved by:    re (gjb)
---
 secure/lib/libcrypto/Makefile.asm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/secure/lib/libcrypto/Makefile.asm b/secure/lib/libcrypto/Makefile.asm
index d3243e5b20b8..644965c1ac1c 100644
--- a/secure/lib/libcrypto/Makefile.asm
+++ b/secure/lib/libcrypto/Makefile.asm
@@ -46,6 +46,7 @@ ASM=	${SRCS:R:S/$/.S/} sha256-armv8.S
 
 all:	${ASM}
 	rm -f ${ASM:R:S/$/.s/}
+	${CP} ${LCRYPTO_SRC}/crypto/arm_arch.h arm_arch.h
 
 CLEANFILES=	${ASM}
 .SUFFIXES:	.pl