summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-23 08:38:15 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-23 08:38:15 (GMT)
commite81fe2c77814ba7638c6818a9dac2d1568fbad51 (patch)
tree5a87c829baa58634bae76b5fc636513de8e06c75 /scripts
parent9736a99ee9fd0465aea0c1d6c0b475a0ecdc6b95 (diff)
debug/gdb: companion libs are not used
Although the gdb ./configure advertises for GMP and MPFR, those libraries are not used by gdb (the ./configure is used across different packages, hence the check for GMP/MPFR). See: http://sourceware.org/ml/crossgcc/2010-08/msg00168.html The same applies to MPC. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/debug/300-gdb.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index f112cdd..4eb31be 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -79,13 +79,6 @@ do_debug_gdb_build() {
cd "${CT_BUILD_DIR}/build-gdb-cross"
cross_extra_config=("${extra_config[@]}")
- if [ "${CT_GDB_CROSS_USE_GMP_MPFR}" = "y" ]; then
- cross_extra_config+=("--with-gmp=${CT_PREFIX_DIR}")
- cross_extra_config+=("--with-mpfr=${CT_PREFIX_DIR}")
- fi
- if [ "${CT_GDB_CROSS_USE_MPC}" = "y" ]; then
- cross_extra_config+=("--with-mpc=${CT_PREFIX_DIR}")
- fi
case "${CT_THREADS}" in
none) cross_extra_config+=("--disable-threads");;
*) cross_extra_config+=("--enable-threads");;
@@ -199,10 +192,6 @@ do_debug_gdb_build() {
none) native_extra_config+=("--disable-threads");;
*) native_extra_config+=("--enable-threads");;
esac
- if [ "${CT_GDB_NATIVE_USE_GMP_MPFR}" = "y" ]; then
- native_extra_config+=("--with-gmp=${CT_SYSROOT_DIR}/usr")
- native_extra_config+=("--with-mpfr=${CT_SYSROOT_DIR}/usr")
- fi
if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
CC_for_gdb="${CT_TARGET}-gcc -static"