This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/5] Force gmp to use build tool.


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"     \
     CT_DoExecLog ALL                                \
     "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \
         --build=${CT_BUILD}                         \
-- 
1.7.0.rc2.16.g99c03.dirty


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]