git: 95acd7ef50df - main - math/kfr: Attempt to fix on armv6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 20:35:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=95acd7ef50dfbe10638144ab08885fdc3c4c8b2b
commit 95acd7ef50dfbe10638144ab08885fdc3c4c8b2b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-29 20:34:50 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-29 20:34:50 +0000
math/kfr: Attempt to fix on armv6
Reported by: fallout
---
math/kfr/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/math/kfr/Makefile b/math/kfr/Makefile
index 0788cdfa3481..00b2bb6b623b 100644
--- a/math/kfr/Makefile
+++ b/math/kfr/Makefile
@@ -17,7 +17,8 @@ GH_ACCOUNT= kfrlib
CMAKE_ON= BUILD_SHARED_LIBS
-CXXFLAGS_armv6= -march=native # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
+#CXXFLAGS_armv6= -march=native # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
+CMAKE_ARGS_armv6= -DCMT_FORCE_GENERIC_CPU=1 # to fix: ARM builds require NEON support. Add -march=native for native build or skip the check with CMT_FORCE_GENERIC_CPU=1
do-test: # some tests fail: https://github.com/kfrlib/kfr/issues/132
@cd ${BUILD_WRKSRC} && \