mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
debug/gdb: fix the space-damage
This commit is contained in:
parent
64aae637f8
commit
ed71d902c9
@ -159,16 +159,16 @@ do_debug_gdb_build() {
|
||||
# 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_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
||||
--build=${CT_REAL_BUILD} \
|
||||
--host=${CT_BUILD} \
|
||||
--prefix=/usr \
|
||||
--without-shared \
|
||||
--enable-symlinks \
|
||||
--with-build-cc=${CT_REAL_BUILD}-gcc \
|
||||
--with-build-cpp=${CT_REAL_BUILD}-gcc \
|
||||
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
||||
CT_DoExecLog ALL \
|
||||
"${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
||||
--build=${CT_REAL_BUILD} \
|
||||
--host=${CT_BUILD} \
|
||||
--prefix=/usr \
|
||||
--without-shared \
|
||||
--enable-symlinks \
|
||||
--with-build-cc=${CT_REAL_BUILD}-gcc \
|
||||
--with-build-cpp=${CT_REAL_BUILD}-gcc \
|
||||
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
||||
"${ncurses_opts[@]}"
|
||||
|
||||
# Under some operating systems (eg. Winblows), there is an
|
||||
@ -189,18 +189,18 @@ do_debug_gdb_build() {
|
||||
mkdir -p "${CT_BUILD_DIR}/build-ncurses"
|
||||
cd "${CT_BUILD_DIR}/build-ncurses"
|
||||
|
||||
CT_DoExecLog ALL \
|
||||
"${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
||||
--build=${CT_BUILD} \
|
||||
--host=${CT_TARGET} \
|
||||
--with-build-cc=${CT_BUILD}-gcc \
|
||||
--with-build-cpp=${CT_BUILD}-gcc \
|
||||
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
||||
--prefix="${CT_BUILD_DIR}/ncurses" \
|
||||
--without-shared \
|
||||
--without-sysmouse \
|
||||
--without-progs \
|
||||
--enable-termcap \
|
||||
CT_DoExecLog ALL \
|
||||
"${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \
|
||||
--build=${CT_BUILD} \
|
||||
--host=${CT_TARGET} \
|
||||
--with-build-cc=${CT_BUILD}-gcc \
|
||||
--with-build-cpp=${CT_BUILD}-gcc \
|
||||
--with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
|
||||
--prefix="${CT_BUILD_DIR}/ncurses" \
|
||||
--without-shared \
|
||||
--without-sysmouse \
|
||||
--without-progs \
|
||||
--enable-termcap \
|
||||
"${ncurses_opts[@]}"
|
||||
|
||||
CT_DoLog EXTRA "Building ncurses"
|
||||
|
Loading…
x
Reference in New Issue
Block a user