[PATCH 1/5] Force gmp to use build tool.
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Apr 7 18:31:00 GMT 2010
Arnaud, All,
On Wednesday 07 April 2010 18:35:20 Arnaud Lacombe wrote:
> Without this, gmp will do the build calling the bare gcc(1) and g++(1),
> bypassing the value passed with the --build configure option.
>
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
> scripts/build/companion_libs/gmp.sh | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/build/companion_libs/gmp.sh b/scripts/build/companion_libs/gmp.sh
> index 2c27693..731838e 100644
> --- a/scripts/build/companion_libs/gmp.sh
> +++ b/scripts/build/companion_libs/gmp.sh
> @@ -32,7 +32,7 @@ do_gmp() {
>
> CT_DoLog EXTRA "Configuring GMP"
>
> - CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \
> + CC=${CT_BUILD}-gcc CXX=${CT_BUILD}-g++ CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \
Long line, I will break it out.
> CT_DoExecLog ALL \
> "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
> --build=${CT_BUILD} \
Will apply, thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list