[libiconv PATCH 3 of 3] debug/gdb: handle --with-libiconv-prefix

Zhenqiang Chen zhenqiang.chen@linaro.org
Wed Nov 23 12:13:00 GMT 2011


# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1322038760 -28800
# Node ID 2e9780c2d9fd8e48fd2bf0e2b8d02c5c7531be35
# Parent  2a521a33e9775dacc797f5dac47f515bdf628d92
debug/gdb: handle --with-libiconv-prefix.

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

diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -124,6 +124,8 @@
              cross_extra_config+=( "--with-python=no" )
          fi

+        [ "${CT_LIBICONV_NEEDED}" = "y" ] && cross_extra_config+=("--with-libiconv-prefix=${CT_COMPLIBS_DIR}")
+
          CC_for_gdb=
          LD_for_gdb=
          if [ "${CT_GDB_CROSS_STATIC}" = "y" ]; then

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



More information about the crossgcc mailing list