Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2021 07:38:14 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 79ede500f770 - main - devel/volk: Fix build on armv7.
Message-ID:  <202111080738.1A87cE1l039364@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111080738.1A87cE1l039364>