# HG changeset patch # User "Yann E. MORIN" # Date 1254582558 -7200 # Node ID 3445f45e6c379eeeff7d2b3639d95ae7bdf431bd # Parent f1e9a86607bd76ad73f2515b395f6501f401d009 debug/gdb: cleanup (remove) the static ncurses build ncurses is built solely for the sake of building a native gdb. The user should not rely on this library to build his/her userland, but should rather build his/her own. So we remove it from the sysroot after we successfully build the native gdb. diff -r f1e9a86607bd -r 3445f45e6c37 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Sat Oct 03 16:53:05 2009 +0200 +++ b/scripts/build/debug/300-gdb.sh Sat Oct 03 17:09:18 2009 +0200 @@ -265,6 +265,10 @@ unset ac_cv_func_strncmp_works + CT_DoLog EXTRA "Cleaning up ncurses" + cd "${CT_BUILD_DIR}/build-ncurses" + CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" uninstall + CT_EndStep # native gdb build fi