[PATCH] bugfix: core_prefix_dir should be prefix in gcc.sh
Zhenqiang Chen
zhenqiang.chen@linaro.org
Mon Feb 27 07:31:00 GMT 2012
exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1330327458 -28800
# Node ID 9796f53c7bab5a5bd281ae18f53d6dd6739ec84a
# Parent 369e2fbe9010a1911d61b56c977d2c94949daef9
cc/gcc: Update core_prefix_dir to prefix.
core_prefix_dir is not defined. It should be prefix.
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
diff -r 369e2fbe9010 -r 9796f53c7bab scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh Sun Jul 24 19:35:24 2011 +0200
+++ b/scripts/build/cc/gcc.sh Mon Feb 27 15:24:18 2012 +0800
@@ -463,7 +463,7 @@
CT_DoExecLog ALL ln -sfv "${CT_TARGET}-gcc${ext}"
"${prefix}/bin/${CT_TARGET}-cc${ext}"
if [ "${CT_MULTILIB}" = "y" ]; then
- multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc"
-print-multi-lib \
+ multilibs=( $( "${prefix}/bin/${CT_TARGET}-gcc" -print-multi-lib \
|tail -n +2 ) )
if [ ${#multilibs[@]} -ne 0 ]; then
CT_DoLog EXTRA "gcc configured with these multilibs
(besides the default):"
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list