public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir
@ 2012-03-02  0:58 Bryan Hundven
  2012-03-02 21:26 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Hundven @ 2012-03-02  0:58 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-02 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02  0:58 [PATCH] cc/gcc: fix multilib breakage with core_prefix_dir Bryan Hundven
2012-03-02 21:26 ` Yann E. MORIN
2012-03-02 21:30   ` Bryan Hundven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).