[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ./configure in debian/rules



On Tue, Mar 07, 2006 at 09:17:19AM +0100, Tollef Fog Heen wrote:
> Pjotr Kourzanov wrote:

> >Yes, but the point was that mainteners get a warning from the
> >regular build system that their package is not cross-compile friendly.
> >That needs to hook into dpkg-buildpackage then, I'm afraid...

> Please don't do this.  Some packages choose to not be cross-compilation 
> friendly instead of carrying around an enormous diff for full 
> relibtoolisation or similar.  I've generally had more trouble with 
> passing --target and --host than not, but I don't use cross-compilation, 
> so I might be biased.

Well, you shouldn't pass --host *except* when cross-compiling; the
autotools-dev package shows how to do this.  But at least --build is always
a sane thing to specify, and usually saves you from upstreams optimizing for
the wrong architecture based on config.guess...

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: