Hello

On Sun, Mar 27, 2005 at 04:12:06PM -0800, Steve Langasek wrote:
> reopen 297806
> thanks
> Ola,

Thanks.

> 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?

Regards,

// Ola

> Cheers,
> -- 
> Steve Langasek
> postmodern programmer



-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  [EMAIL PROTECTED]                   Annebergsslingan 37        \
|  [EMAIL PROTECTED]                   654 65 KARLSTAD            |
|  http://www.opal.dhs.org           Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to