git: 5b413daf3a3b - stable/14 - libcrypto: Copy the arm64 header when building asm

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 25 Oct 2023 18:33:25 UTC
The branch stable/14 has been updated by emaste:

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

commit 5b413daf3a3b67d2d499256907883a96d7c4d13c
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-09-22 11:34:08 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-25 18:32:49 +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)
---
 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