From c6caf866f9b5c7cccbf964b500023b0f7cfeabb4 Mon Sep 17 00:00:00 2001 From: Zhenqiang Chen Date: Mon, 27 Feb 2012 15:24:18 +0800 Subject: cc/gcc: Update core_prefix_dir to prefix. core_prefix_dir is not defined. It should be prefix. Signed-off-by: Zhenqiang Chen diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index a74500f..e0906c3 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -463,7 +463,7 @@ do_cc_core_backend() { 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):" -- cgit v0.10.2-6-g49f6