public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [libiconv PATCH 2 of 3] cc/gcc: handle --with-libiconv-prefix
@ 2011-11-23 12:11 Zhenqiang Chen
  0 siblings, 0 replies; only message in thread
From: Zhenqiang Chen @ 2011-11-23 12:11 UTC (permalink / raw)
  To: yann.morin.1998, crossgcc

# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1322038651 -28800
# Node ID 2a521a33e9775dacc797f5dac47f515bdf628d92
# Parent  cae5f04044f4b6a2caa14da4568c80af4d257580
cc/gcc: handle --with-libiconv-prefix.

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

diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -293,6 +293,8 @@

      [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch")

+    [ "${CT_LIBICONV_NEEDED}" = "y" ] && extra_config+=("--with-libiconv-prefix=${CT_COMPLIBS_DIR}")
+
      CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"

      # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-23 12:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23 12:11 [libiconv PATCH 2 of 3] cc/gcc: handle --with-libiconv-prefix Zhenqiang Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).