git: 2db483080b30 - 2023Q3 - misc/cuttlefish: fix build on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 30 Jul 2023 23:02:08 UTC
The branch 2023Q3 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2db483080b308be7b58343150f9d8fbe42ae78d6

commit 2db483080b308be7b58343150f9d8fbe42ae78d6
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-07-28 20:38:41 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 23:01:42 +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
    
    (cherry picked from commit 9dd6866b0fce90bb540ee50dc176d01105c92ade)
---
 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>