On Mon, Mar 28, 2005 at 11:12:35AM +0200, Ola Lundqvist wrote:
> > On Sun, Mar 27, 2005 at 11:26:44PM +0200, Ola Lundqvist wrote:

> > > Your fix is now applied. Thanks a lot.

> > 0.30.204-2 still doesn't fix the problem where gcc (and therefore diet) is
> > being invoked as a cross-compiler, so we still have build failures on
> > powerpc, hppa, and mipsel due to the mismatch of directory names.

> Noticed that. :) The only arch that was fixed seem to be sparc.

> > See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297806&msg=44 for my
> > explanation on this.

> So this kind of --configure would fix this?

> export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
> export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

> # FOR AUTOCONF 2.52 AND NEWER ONLY
> ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
>   confflags += --build $(DEB_HOST_GNU_TYPE)
> else
>   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
> endif

>         ./configure $(confflags) \
>         ....... (other configure options) ......

> Instead of always give --build and --host, or did I misunderstood you?

Yes, this is what I had in mind.

Cheers,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to