[PATCH] Provide CFLAGS/LDFLAGS for host tools
Arnaud Lacombe
lacombar@gmail.com
Tue Dec 7 15:21:00 GMT 2010
Hi,
On Tue, Dec 7, 2010 at 8:01 AM, Andy Gibbs <andyg1001@hotmail.co.uk> wrote:
> Hi,
>
> Attached to this email is a patch for crosstool that will allow the user to
> specify additional CFLAGS and LDFLAGS that are applicable to building the
> executables which run on the host (not the target!) -- this means gcc and
> the companion libraries. At the moment it does not include the companion
> tools (e.g. m4, autoconf, etc.), but this can easily be added if necessary.
>
> An extra section named "Host options" has been added to the configuration
> menu. The contents of CT_HOST_CFLAGS and CT_HOST_LDFLAGS are then passed
> into the configure scripts for the companion libraries and gcc.
>
+ --with-build-ldflags="${CT_HOST_LDFLAGS}"
\
That looks broken if BUILD != HOST.
- Arnaud
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list