Date: Mon, 31 Aug 2020 00:33:13 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547136 - head/multimedia/libde265 Message-ID: <202008310033.07V0XD4F060022@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Aug 31 00:33:13 2020 New Revision: 547136 URL: https://svnweb.freebsd.org/changeset/ports/547136 Log: multimedia/libde265: fix build on armv6, armv7 Use GNU LD from binutils to fix build. Modified: head/multimedia/libde265/Makefile Modified: head/multimedia/libde265/Makefile ============================================================================== --- head/multimedia/libde265/Makefile Mon Aug 31 00:29:09 2020 (r547135) +++ head/multimedia/libde265/Makefile Mon Aug 31 00:33:13 2020 (r547136) @@ -17,7 +17,12 @@ USES= autoreconf compiler:c++11-lib libtool pathfix p GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-sherlock265 --disable-dec265 -BROKEN_armv6= fails to compile: invokes x86 assembler -BROKEN_armv7= fails to compile: invokes x86 assembler +.include <bsd.port.pre.mk> -.include <bsd.port.mk> +.if ${ARCH} == "armv6" || ${ARCH} == "armv7" +BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils +CONFIGURE_ENV+= CCASFLAGS="${CFLAGS} -B${LOCALBASE}/bin -no-integrated-as" +LLD_UNSAFE= yes +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008310033.07V0XD4F060022>