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 Give preference to target-optimised functions over glibc's ones,
2 which in turn ahave precedence over generic ones.
4 --- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
5 +++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
7 $(AR) dN 2 $(LIBNAME) $$objs && \
8 $(AR) dN 2 $(LIBNAME) $$objs
9 @for objfile in obj.signal \
10 - obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
11 + obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
12 obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
13 if [ -e $$objfile ] ; then \
14 echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \