Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2021 11:52:09 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ee93a2ebb651 - 2021Q4 - devel/volk: Fix build on armv7.
Message-ID:  <202111081152.1A8Bq9tZ083850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q4 has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee93a2ebb651edbbf0408ddd93b61db831a2c4b1

commit ee93a2ebb651edbbf0408ddd93b61db831a2c4b1
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-10-25 22:05:14 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-11-08 11:52:01 +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)
    
    (cherry picked from commit 79ede500f770ed197458e9ae7cf87b2961c4dc16)
---
 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>



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