summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/debug/300-gdb.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index f990e96..d1839c5 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -143,6 +143,9 @@ do_debug_gdb_build() {
cross_extra_config+=("--with-expat=no")
fi
+ [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
+ cross_extra_config+=("--disable-nls")
+
gdb_cross_configure="${gdb_src_dir}/configure"
CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"
@@ -299,6 +302,9 @@ do_debug_gdb_build() {
*) native_extra_config+=("--enable-threads");;
esac
+ [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
+ native_extra_config+=("--disable-nls")
+
if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
CC_for_gdb="${CT_TARGET}-gcc -static"
LD_for_gdb="${CT_TARGET}-ld -static"