diff --git a/multimedia/libde265/Makefile b/multimedia/libde265/Makefile index 996aa9297d0e..a2c5670202f4 100644 --- a/multimedia/libde265/Makefile +++ b/multimedia/libde265/Makefile @@ -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 -.include +.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