Ah, thank you, I did not realise such a variable existed; guess I should have 
checked!

James

> On 24 Sep 2015, at 14:37, Guillem Jover <guil...@debian.org> wrote:
> 
> Hi!
> 
> On Wed, 2015-09-23 at 19:04:03 +0100, James Clarke wrote:
>> --- a/debian/rules
>> +++ b/debian/rules
>> @@ -6,7 +6,7 @@
>>      dh $@
>> 
>> ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
>> -ifneq (,$(findstring :$(ARCH):,:i386:amd64:))
>> +ifneq (,$(filter i386 amd64 %-i386 %-amd64,$(ARCH)))
>> ARCH=x86
>> endif
> 
> I think you want DEB_HOST_ARCH_CPU instead here.
> 
> Thanks,
> Guillem

Reply via email to