git: 9dd6866b0fce - main - misc/cuttlefish: fix build on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 22:59:54 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9dd6866b0fce90bb540ee50dc176d01105c92ade

commit 9dd6866b0fce90bb540ee50dc176d01105c92ade
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-07-28 20:38:41 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 22:59:09 +0000

    misc/cuttlefish: fix build on armv7
    
    Tell clang that it's ok to use fp16 instructions as the port assumes the
    corresponding intrinsics are present.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2023Q3
---
 misc/cuttlefish/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/misc/cuttlefish/Makefile b/misc/cuttlefish/Makefile
index e60a69391c1a..2b8b9c814506 100644
--- a/misc/cuttlefish/Makefile
+++ b/misc/cuttlefish/Makefile
@@ -32,6 +32,7 @@ CMAKE_OFF=	CUTTLEFISH_BUILD_DOCS CUTTLEFISH_BUILD_TESTS
 CMAKE_ON=	CUTTLEFISH_SHARED
 CMAKE_TESTING_ON=	CUTTLEFISH_BUILD_TESTS # many tests fail, see https://github.com/akb825/Cuttlefish/issues/19
 
+CXXFLAGS_armv7=	-mfpu=neon-fp16
 CXXFLAGS_powerpc=	-maltivec
 
 .include <bsd.port.mk>