1.1 --- a/scripts/build/debug/300-gdb.sh Wed Oct 03 15:59:22 2012 +1000
1.2 +++ b/scripts/build/debug/300-gdb.sh Sat Sep 29 14:34:15 2012 +0800
1.3 @@ -143,6 +143,9 @@
1.4 cross_extra_config+=("--with-expat=no")
1.5 fi
1.6
1.7 + [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
1.8 + cross_extra_config+=("--disable-nls")
1.9 +
1.10 gdb_cross_configure="${gdb_src_dir}/configure"
1.11
1.12 CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"
1.13 @@ -299,6 +302,9 @@
1.14 *) native_extra_config+=("--enable-threads");;
1.15 esac
1.16
1.17 + [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
1.18 + native_extra_config+=("--disable-nls")
1.19 +
1.20 if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then
1.21 CC_for_gdb="${CT_TARGET}-gcc -static"
1.22 LD_for_gdb="${CT_TARGET}-ld -static"