[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recording flags specified to configure scripts
From: |
Mike Frysinger |
Subject: |
Re: recording flags specified to configure scripts |
Date: |
Tue, 10 Mar 2009 16:23:35 -0400 |
User-agent: |
KMail/1.11.1 (Linux/2.6.28; KDE/4.2.1; x86_64; ; ) |
On Tuesday 10 March 2009 06:49:12 Keith Marshall wrote:
> On Tuesday 10 March 2009 07:18:26 Ralf Wildenhues wrote:
> > I suppose Autoconf could provide a macro to access this variable
> > which we could then document.
>
> That would be useful. I've used $ac_configure_args, filtered, to pass
> to a sub-configure in a hybrid build, (where the main application is
> cross-compiled, but the build process needs to create some tools, for
> its own use on the `build' platform; the sub-configure needs to be
> invoked with the --host spec filtered out, along with any reference
> to host_alias, and IIRC, I also filtered out similar references which
> relate to the --build spec; furthermore, the sub-configure cannot
> share a cache file, with the main configure process). A documented,
> and therefore hopefully stable, mechanism to achieve that objective
> would be much preferred, to a technique based on an undocumented
> feature, such as is currently required.
later --host options clobber previous ones dont they ? so you could use the
original args and just append --host=$build ...
-mike
signature.asc
Description: This is a digitally signed message part.