multimedia/libde265: fix build on armv6, armv7

Use GNU LD from binutils to fix build.
This commit is contained in:
Piotr Kubaj 2020-08-31 00:33:13 +00:00
parent bb51ecc044
commit c809a01baf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547136

View File

@ -17,7 +17,12 @@ USES= autoreconf compiler:c++11-lib libtool pathfix pkgconfig
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>