public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Cody Schafer <dev@codyps.com>
To: crossgcc@sourceware.org
Subject: [PATCH] Avoid passing --enable-multilib
Date: Sat, 10 May 2014 02:12:00 -0000	[thread overview]
Message-ID: <5c970c1ceb22528fe28a.1399687923@localhost> (raw)

# HG changeset patch
# User Cody Schafer <dev@codyps.com>
# Date 1399687919 25200
#      Fri May 09 19:11:59 2014 -0700
# Node ID 5c970c1ceb22528fe28a7669a9f6ef67a4eedae3
# Parent  c70f928e69e022cfbf09a2103ed0bbd349bc518f
Avoid passing --enable-multilib

Some versions of gcc have a broken --enable-multilib flag. As multilib is the
default, only pass the --disable-multilib flag

diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -367,11 +367,7 @@
         extra_config+=("--with-system-zlib")
     fi
 
-    if [ "${CT_MULTILIB}" = "y" ]; then
-        extra_config+=("--enable-multilib")
-    else
-        extra_config+=("--disable-multilib")
-    fi
+    [ "${CT_MULTILIB}" != "y" ] && extra_config+=("--disable-multilib")
 
     CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
 


--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2014-05-10  2:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10  2:12 Cody Schafer [this message]
2014-05-11  0:16 ` Cody P Schafer
2014-05-11 10:54 ` cc/gcc: avoid " Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c970c1ceb22528fe28a.1399687923@localhost \
    --to=dev@codyps.com \
    --cc=crossgcc@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).