From 501143cea73f072acbbce0547ea1c8a1bc621d36 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 25 Jun 2008 21:56:36 +0000 Subject: 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(-) --- scripts/build/debug/300-gdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/debug') diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index bd43b238..e3f84c93 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -132,7 +132,7 @@ do_debug_gdb_build() { none) native_extra_config="${native_extra_config} --disable-threads";; *) native_extra_config="${native_extra_config} --enable-threads";; esac - if [ "${CT_GMP_MPFR_TARGET}" = "y" ]; then + if [ "${CT_GDB_NATIVE_USE_GMP_MPFR}" = "y" ]; then native_extra_config="${native_extra_config} --with-gmp=${CT_SYSROOT_DIR}/usr --with-mpfr=${CT_SYSROOT_DIR}/usr" fi -- cgit v1.2.3