1.1 --- a/scripts/build/debug/300-gdb.sh Mon Mar 23 23:05:08 2009 +0000
1.2 +++ b/scripts/build/debug/300-gdb.sh Mon Mar 23 23:35:36 2009 +0000
1.3 @@ -143,15 +143,18 @@
1.4 [ "${CT_CC_LANG_CXX}" = "y" ] || ncurses_opts="${ncurses_opts} --without-cxx --without-cxx-binding"
1.5 [ "${CT_CC_LANG_ADA}" = "y" ] || ncurses_opts="${ncurses_opts} --without-ada"
1.6
1.7 + # Use build = CT_REAL_BUILD so that configure thinks it is
1.8 + # cross-compiling, and thus will use the ${CT_BUILD}-*
1.9 + # tools instead of searching for the native ones...
1.10 CT_DoExecLog ALL \
1.11 "${CT_SRC_DIR}/ncurses-${CT_NCURSES_VERSION}/configure" \
1.12 - --build=${CT_BUILD} \
1.13 + --build=${CT_REAL_BUILD} \
1.14 --host=${CT_BUILD} \
1.15 --prefix=/usr \
1.16 --without-shared \
1.17 --enable-symlinks \
1.18 - --with-build-cc=${CT_BUILD}-gcc \
1.19 - --with-build-cpp=${CT_BUILD}-gcc \
1.20 + --with-build-cc=${CT_REAL_BUILD}-gcc \
1.21 + --with-build-cpp=${CT_REAL_BUILD}-gcc \
1.22 --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
1.23 ${ncurses_opts}
1.24