On Wed, 28 Feb 2007 12:23:00 +0000
Stephen Gran <[EMAIL PROTECTED]> wrote:

> I don't know the package at all, so excuse me if I leap to conclusions.
> The thing I see there that bugs me is that at the end of a build/clean
> run, the source tree will be different, as you've lost the Makefile for
> 32bit systems.

> I would suggest something like:
>
> MAKEFILE = Makefile
> DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
> USE_64PARSER_CPUS = zx86_64z
> ifeq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(USE_64PARSER_CPUS)))
>     MAKEFILE = Makefile.64
> endif
>
> ...
>
> ${MAKE} -f ${MAKEFILE}

Thanks for the tip!

--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgptzBThJ20y9.pgp
Description: PGP signature

Reply via email to