summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/vfc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/vfc/Makefile b/misc/vfc/Makefile
index a0de1ad1c3a7..e87abb5c08bb 100644
--- a/misc/vfc/Makefile
+++ b/misc/vfc/Makefile
@@ -10,6 +10,9 @@ WWW= https://github.com/akb825/VertexFormatConvert
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+NOT_FOR_ARCHS= armv6
+NOT_FOR_ARCHS_REASON= requires NEON with FP16 support on ARM
+
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing compiler:c++14-lang
@@ -24,4 +27,7 @@ CMAKE_ON= VFC_SHARED
CMAKE_OFF= VFC_BUILD_TESTS
CMAKE_TESTING_ON= VFC_BUILD_TESTS
+CXXFLAGS+= ${CXXFLAGS_${ARCH}}
+CXXFLAGS_armv7= -mfpu=neon-fp16
+
.include <bsd.port.mk>