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] libc/newlib: fix configure error


exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1323223997 -28800
# Node ID f4ac9aa016c90484868940a8077ecb035ab4c26f
# Parent  cf509170838f4e289fe25617e3f3db1d6d6ffc41
libc/newlib: fix configure error

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

diff -r cf509170838f -r f4ac9aa016c9 scripts/build/libc/newlib.sh
--- a/scripts/build/libc/newlib.sh      Wed Nov 30 12:07:59 2011 +0100
+++ b/scripts/build/libc/newlib.sh      Wed Dec 07 10:13:17 2011 +0800
@@ -98,7 +98,8 @@
     AR=${CT_TARGET}-ar                                  \
     RANLIB=${CT_TARGET}-ranlib                          \
     "${CT_SRC_DIR}/newlib-$(libc_newlib_version)/configure" \
-        --host=${CT_BUILD}                              \
+        --build=${CT_BUILD}                             \
+        --host=${CT_HOST}                               \
         --target=${CT_TARGET}                           \
         --prefix=${CT_PREFIX_DIR}                       \
         "${newlib_opts[@]}"                             \

--
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]