git: 8a321688b483 - 2022Q3 - math/kfr: Attempt to fix on armv6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 20:35:46 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8a321688b4835d2574b50d18c26ab2fb010ddc8f
commit 8a321688b4835d2574b50d18c26ab2fb010ddc8f
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:35:40 +0000
math/kfr: Attempt to fix on armv6
Reported by: fallout
(cherry picked from commit 95acd7ef50dfbe10638144ab08885fdc3c4c8b2b)
---
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} && \