This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] debug/gdb: disable nls when CT_TOOLCHAIN_ENABLE_NLS is not selected


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>

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"

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]