From: Cody P Schafer <dev@codyps.com>
To: crossgcc@sourceware.org
Subject: Re: [PATCH] Avoid passing --enable-multilib
Date: Sun, 11 May 2014 00:16:00 -0000 [thread overview]
Message-ID: <536EC15A.9050402@codyps.com> (raw)
In-Reply-To: <5c970c1ceb22528fe28a.1399687923@localhost>
On 05/09/2014 07:12 PM, Cody Schafer wrote:
> # 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
>
Signed-off-by: Cody P Schafer <dev@codyps.com>
> 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
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
next prev parent reply other threads:[~2014-05-11 0:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-10 2:12 Cody Schafer
2014-05-11 0:16 ` Cody P Schafer [this message]
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=536EC15A.9050402@codyps.com \
--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).