summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-25 21:56:36 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-25 21:56:36 (GMT)
commit501143cea73f072acbbce0547ea1c8a1bc621d36 (patch)
treeb11a6ae365a0c5b37a5f0957fc77c3c25c84e635 /scripts/build
parentd5c7eaa0c5fe4cac8b93a2255be9ab9cdcff0c04 (diff)
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(-)
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/debug/300-gdb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index bd43b23..e3f84c9 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