git: 7f765b2b68c1 - main - security/gnutls: Remove -Wa,-march=all for clang on aarch64

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Sun, 28 Nov 2021 20:22:55 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f765b2b68c15dae2d53461ed68e4516457ae496

commit 7f765b2b68c15dae2d53461ed68e4516457ae496
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2021-11-28 19:33:56 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2021-11-28 20:21:54 +0000

    security/gnutls: Remove -Wa,-march=all for clang on aarch64
    
    PR:             260078
---
 security/gnutls/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 1ed334f7ca95..945dddbe7aa9 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -90,6 +90,9 @@ post-patch:
 		${WRKSRC}/doc/invoke-p11tool.texi \
 		${WRKSRC}/doc/manpages/p11tool.1 \
 		${WRKSRC}/src/p11tool-args.c.bak
+# Bug 260078
+	@${REINPLACE_CMD} 's/-Wa,-march=all//' \
+		${WRKSRC}/lib/accelerated/aarch64/Makefile.in
 # Prevent regeneration.  The order is important.
 	@${TOUCH} ${WRKSRC}/doc/enums.texi \
 		${WRKSRC}/doc/invoke-gnutls-cli.texi \