diff options
-rw-r--r-- | config/debug/gdb.in.cross | 12 | ||||
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index 4699bab..900ff72 100644 --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -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 diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 46b3ea1..afa783a 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -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");; |