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

See crosstool-NG 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]

[PATCH] cc/gcc: fix multilib breakage with core_prefix_dir


# HG changeset patch
# User "Bryan Hundven" <bryanhundven@gmail.com>
# Date 1330649828 28800
# Node ID 3256154ac1cdeb3d937199466a4952508c9406c3
# Parent  369e2fbe9010a1911d61b56c977d2c94949daef9
cc/gcc: fix multilib breakage with core_prefix_dir

core_prefix_dir does not exist, so trying to get -print-multi-libs
doesn't work.

Change core_prefix_dir to prefix.

Signed-Off-By: Bryan Hundven <bryanhundven@gmail.com>

diff -r 369e2fbe9010 -r 3256154ac1cd 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	Thu Mar 01 16:57:08 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


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