git: 79ede500f770 - main - devel/volk: Fix build on armv7.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Nov 2021 07:38:14 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=79ede500f770ed197458e9ae7cf87b2961c4dc16 commit 79ede500f770ed197458e9ae7cf87b2961c4dc16 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-10-25 22:05:14 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2021-11-08 07:26:22 +0000 devel/volk: Fix build on armv7. This port does not build on armv7 due to inline assembly unsupported by clang. Fix the build by compiling with gcc on armv7. PR: 259447 Approved by: portmgr (build fix blanket) --- devel/volk/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/volk/Makefile b/devel/volk/Makefile index f1387a155ba5..11a8063d61c6 100644 --- a/devel/volk/Makefile +++ b/devel/volk/Makefile @@ -13,9 +13,15 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/mako/__init__.py:textproc/py-mako@${PY_FLAVO USES= cmake compiler:c++11-lang python:3.5+ +.include <bsd.port.pre.mk> + +.if ${ARCH} == armv7 +USE_GCC= yes +.endif + USE_GITHUB= yes GH_ACCOUNT= gnuradio USE_LDCONFIG= yes -.include <bsd.port.mk> +.include <bsd.port.post.mk>