Hi,

On 21/07/18 16:38, YunQiang Su wrote:
> James Cowgill <jcowg...@debian.org> 于2018年7月21日周六 下午11:16写道:
>> On 21/07/18 05:46, YunQiang Su wrote:
>>> 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 still don't understand. In your new code, the --disable-mips32r5
option is passed unconditionally in the main config block so this extra
option in the r6 block should have no effect.

>> 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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to