diff mbox

debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected

Message ID CACgzC7Bn+WpbgDruNeZ4s1z0x1deF6n4YyS22Dy7p_d1fFDVCA@mail.gmail.com
State Accepted
Commit 15fa0b85025e
Headers show

Commit Message

Zhenqiang Chen Oct. 12, 2012, 2:06 a.m. UTC
exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1348900455 -28800
# Node ID 4d75ae97ad0ccd6ecdc904a14481bfc5584175ac
# Parent  8724aedc7a30ac1e5c0a412747e5a88707da95a4
debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>


--
For unsubscribe information see http://sourceware.org/lists.html#faq

Comments

Yann E. MORIN Oct. 12, 2012, 9 p.m. UTC | #1
Zhenqiang, All,

Your patch:
    debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected

has been applied as #15fa0b85025e. Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff -r 8724aedc7a30 -r 4d75ae97ad0c scripts/build/debug/300-gdb.sh
--- a/scripts/build/debug/300-gdb.sh    Thu Sep 20 11:20:16 2012 +0800
+++ b/scripts/build/debug/300-gdb.sh    Sat Sep 29 14:34:15 2012 +0800
@@ -136,6 +136,9 @@ 
             LD_for_gdb="ld -static"
         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[*]}'"
@@ -293,6 +296,9 @@ 
             *)      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"