Skip to content

Commit

Permalink
misc/cuttlefish: fix build on armv7
Browse files Browse the repository at this point in the history
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
  • Loading branch information
clausecker committed Jul 30, 2023
1 parent 1b46f3b commit 9dd6866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/cuttlefish/Makefile
Expand Up @@ -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>

0 comments on commit 9dd6866

Please sign in to comment.