1.1 --- a/scripts/build/debug/300-gdb.sh Thu Aug 18 23:52:47 2011 +0200
1.2 +++ b/scripts/build/debug/300-gdb.sh Tue Aug 30 19:38:10 2011 +0200
1.3 @@ -197,13 +197,16 @@
1.4 --build=${CT_BUILD} \
1.5 --host=${CT_BUILD} \
1.6 --prefix=/usr \
1.7 - --without-shared \
1.8 --enable-symlinks \
1.9 --with-build-cc=${CT_REAL_BUILD}-gcc \
1.10 --with-build-cpp=${CT_REAL_BUILD}-gcc \
1.11 --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \
1.12 "${ncurses_opts[@]}"
1.13
1.14 + # ncurses insists on linking tic statically. It does not work
1.15 + # on some OSes (eg. MacOS-X/Darwin/whatever-you-call-it).
1.16 + CT_DoExecLog DEBUG sed -r -i -e 's/-static//g;' "progs/Makefile"
1.17 +
1.18 # Under some operating systems (eg. Winblows), there is an
1.19 # extension appended to executables. Find that.
1.20 tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')