Le 22.04.2006 23:47:10, Julian Gilbey a écrit :
On Sat, Apr 22, 2006 at 11:29:26AM -0500, Peter Samuelson wrote:
>
> [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).

Thanks fot the valuable information Peter.


dpkg-buildpackage sets them in the environment (whether this is good
or not is another matter entirely), so debuild should do the same.

Thanks for letting me know, fixed in SVN.
Thanks for fixing that Julian. BTW, where can I get a svn copy?


Regards

Attachment: pgpEwfjNyyfdf.pgp
Description: PGP signature

Reply via email to