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] |
# HG changeset patch # User Zhenqiang Chen <zhenqiang.chen@linaro.org> # Date 1321523984 -28800 # Node ID 640bdfd7d1efc1b91ad54304fefe6db77179ec65 # Parent 986e1c75432aad60ae3239767198c653c08c01af binutils/binutils: Add --disable-nls config when option "Enable nls" is not selected.
Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -62,6 +62,8 @@ [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") fi
+ [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls") + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
CT_DoExecLog CFG \ @@ -72,7 +74,6 @@ --host=${CT_HOST} \ --target=${CT_TARGET} \ --prefix=${CT_PREFIX_DIR} \ - --disable-nls \ --disable-multilib \ --disable-werror \ "${extra_config[@]}" \ @@ -166,6 +167,8 @@ [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") fi
+ [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls") + CT_DoExecLog CFG \ "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \ --build=${CT_BUILD} \ @@ -175,7 +178,6 @@ --disable-werror \ --enable-shared \ --enable-static \ - --disable-nls \ --disable-multilib \ "${extra_config[@]}" \ ${CT_ARCH_WITH_FLOAT} \
-- 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] |