aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2013-03-03 17:15:56 +0100
committerYann E. MORIN" <yann.morin.1998@free.fr>2013-03-03 17:15:56 +0100
commit6fef7d640a25b971b1f6bccb6bcff300a5448cce (patch)
tree9c8d5810924ea24ab262b52d7699f75130505a74
parentea899b676787ecad79fa7aafbbfb8e24e7312155 (diff)
downloadcrosstool-ng-6fef7d640a25b971b1f6bccb6bcff300a5448cce.tar.gz
crosstool-ng-6fef7d640a25b971b1f6bccb6bcff300a5448cce.tar.bz2
crosstool-ng-6fef7d640a25b971b1f6bccb6bcff300a5448cce.zip
debug/gdb: fix possibly broken code
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--scripts/build/debug/300-gdb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 8532eaba..b50e403d 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -148,8 +148,9 @@ do_debug_gdb_build() {
cross_extra_config+=("--enable-expat")
cross_extra_config+=("--with-expat=yes")
- [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && \
- cross_extra_config+=("--disable-nls")
+ if [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ]; then
+ cross_extra_config+=("--disable-nls")
+ fi
gdb_cross_configure="${gdb_src_dir}/configure"