Bug#904178: ffmpeg: fix mips r6 build

YunQiang Su wzssyqa at gmail.com
Sat Jul 21 16:38:12 BST 2018


James Cowgill <jcowgill at debian.org> 于2018年7月21日周六 下午11:16写道:
>
> Control: notfound -1 4.0.1-2
> Control: found -1 7:4.0.1-2
>
> Hi Yunqiang,
>
> On 21/07/18 05:46, YunQiang Su wrote:
> > Package: src:ffmpeg
> > Version: 4.0.1-2
> >
> > We are working on MIPS r6 ports.
> >
> > Please change the lines about mips options in debian/rules to the below.
> > # Disable some optimizations on mips*, because they are not always
> > available on these architectures
> > ifneq (,$(filter mips%r6 mips%r6el, $(DEB_HOST_ARCH)))
> >         MIPS_NO_R6_OPTION = --disable-mips32r2 \
> >                 --disable-mips64r2 \
> >                 --disable-mips32r5
>
> Is this line intentional (given that --disable-mips32r5 is used below as
> well)?
>

yes. when the first try, I don't add --disable-mips32r5, then it
failed to build,
when link r2/r6 objects.

> I don't think the name of that variable explains itself very well,
> especially since one of the options enables R6. Maybe MIPS_R2_R6_CONFIG
> is better?
>
> James
>


-- 
YunQiang Su



More information about the pkg-multimedia-maintainers mailing list