mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 11:17:00 +00:00
debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdb
This commit is contained in:
parent
76f3741a0f
commit
2244007325
@ -22,6 +22,18 @@ config GDB_CROSS_USE_GMP_MPFR
|
||||
|
||||
Say 'Y' here if you want to use GMP+MPFR.
|
||||
|
||||
config GDB_CROSS_USE_MPC
|
||||
bool
|
||||
prompt "Use MPC"
|
||||
default n
|
||||
select GDB_CROSS_USE_GMP_MPFR
|
||||
select MPC
|
||||
select GDB_CROSS_NO_STATIC
|
||||
help
|
||||
gdb can use MPC, although it does not seem compulsory.
|
||||
|
||||
Say 'Y' here if you want to use MPC.
|
||||
|
||||
config GDB_CROSS_NO_STATIC
|
||||
bool
|
||||
default n
|
||||
|
@ -103,6 +103,9 @@ do_debug_gdb_build() {
|
||||
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");;
|
||||
|
Loading…
Reference in New Issue
Block a user