[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799883: [PATCH v2 1/2] Treat *-{i386,amd64} as x86



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