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 diff -dur duma_2_5_1/Makefile duma_2_5_1.orig/Makefile
2 --- duma_2_5_1/Makefile 2006-06-18 06:02:13.000000000 +0200
3 +++ duma_2_5_1.orig/Makefile 2007-07-11 17:49:43.000000000 +0200
14 ############################################################
17 createconf: createconf.o
19 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf
20 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf
22 tstheap: libduma.a tstheap.o
25 # define rules how to build objects for createconf
28 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
29 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@