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

See the CrossGCC FAQ 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]

[libiconv PATCH 2 of 3] cc/gcc: handle --with-libiconv-prefix


# 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


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