* [PATCH] cc/gcc: avoid passing --enable-multilib
@ 2014-07-19 3:23 Cody P Schafer
2014-07-19 10:17 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Cody P Schafer @ 2014-07-19 3:23 UTC (permalink / raw)
To: crossgcc; +Cc: Cody P Schafer
This is one I missed in the last patch (it was mixed with a different
local patch)
Signed-off-by: Cody P Schafer <dev@codyps.com>
---
scripts/build/cc/gcc.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 8a428a2..173ddbf 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -829,9 +829,10 @@ do_cc_backend() {
extra_config+=("--with-system-zlib")
fi
- if [ "${CT_MULTILIB}" = "y" ]; then
- extra_config+=("--enable-multilib")
- else
+
+ # Some versions of gcc have a deffective --enable-multilib.
+ # Since that's the default, only pass --disable-multilib.
+ if [ "${CT_MULTILIB}" != "y" ]; then
extra_config+=("--disable-multilib")
fi
--
2.0.2
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cc/gcc: avoid passing --enable-multilib
2014-07-19 3:23 [PATCH] cc/gcc: avoid passing --enable-multilib Cody P Schafer
@ 2014-07-19 10:17 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2014-07-19 10:17 UTC (permalink / raw)
To: Cody P Schafer; +Cc: crossgcc
Cody, All,
On 2014-07-18 23:23 -0400, Cody P Schafer spake thusly:
> This is one I missed in the last patch (it was mixed with a different
> local patch)
>
> Signed-off-by: Cody P Schafer <dev@codyps.com>
Applied, thanks!
Regards,
Yann E. MORIN.
> ---
> scripts/build/cc/gcc.sh | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
> index 8a428a2..173ddbf 100644
> --- a/scripts/build/cc/gcc.sh
> +++ b/scripts/build/cc/gcc.sh
> @@ -829,9 +829,10 @@ do_cc_backend() {
> extra_config+=("--with-system-zlib")
> fi
>
> - if [ "${CT_MULTILIB}" = "y" ]; then
> - extra_config+=("--enable-multilib")
> - else
> +
> + # Some versions of gcc have a deffective --enable-multilib.
> + # Since that's the default, only pass --disable-multilib.
> + if [ "${CT_MULTILIB}" != "y" ]; then
> extra_config+=("--disable-multilib")
> fi
>
> --
> 2.0.2
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-19 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19 3:23 [PATCH] cc/gcc: avoid passing --enable-multilib Cody P Schafer
2014-07-19 10:17 ` Yann E. MORIN
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).