[Jean-Luc Coulon (f5ibh)] > This doesnt work because $(DEB_HOST_ARCH) is empty. > The package build fine with dpkg-buildpackage -rfakeroot
I believe the recommended debian/rules business is: DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) This sets DEB_HOST_ARCH only if it is not already set. You can do the same with DEB_BUILD_GNU_ARCH and DEB_HOST_GNU_ARCH (so you can test them for equality to detect cross-compiling).
signature.asc
Description: Digital signature