Don't force building target GMP and MPFR when a native gdb is built. Rather,
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
1 --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
2 +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
4 $(AR) dN 2 $(LIBNAME) $$objs && \
5 $(AR) dN 2 $(LIBNAME) $$objs
6 @for objfile in obj.signal \
7 - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
8 + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
9 obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
10 if [ -e $$objfile ] ; then \
11 echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \