summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-23 23:35:36 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-23 23:35:36 (GMT)
commit37d19f8954351149f9d61ff3d2d5d1dd2b0a1f95 (patch)
treeb1536f460331c6ae6986e42011e5805369fca5b8 /scripts
parent893f21944cf405deb7b42c42fc13a720893298c6 (diff)
Final touch to the ncurses build step:
- use build tools to build tic, instead of native ones. /trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/debug/300-gdb.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 17d0621..fcc7444 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -143,15 +143,18 @@ do_debug_gdb_build() {
[ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts="${ncurses_opts} --without-cxx --without-cxx-binding"
[ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts="${ncurses_opts} --without-ada"
+ # Use build = CT_REAL_BUILD so that configure thinks it is
+ # cross-compiling, and thus will use the ${CT_BUILD}-*
+ # tools instead of searching for the native ones...
CT_DoExecLog ALL \
"${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
- --build=${CT_BUILD} \
+ --build=${CT_REAL_BUILD} \
--host=${CT_BUILD} \
--prefix=/usr \
--without-shared \
--enable-symlinks \
- --with-build-cc=${CT_BUILD}-gcc \
- --with-build-cpp=${CT_BUILD}-gcc \
+ --with-build-cc=${CT_REAL_BUILD}-gcc \
+ --with-build-cpp=${CT_REAL_BUILD}-gcc \
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
${ncurses_opts}