public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Avoid passing --enable-multilib
@ 2014-05-10  2:12 Cody Schafer
  2014-05-11  0:16 ` Cody P Schafer
  2014-05-11 10:54 ` cc/gcc: avoid " Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Cody Schafer @ 2014-05-10  2:12 UTC (permalink / raw)
  To: crossgcc

# 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

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

* Re: [PATCH] Avoid passing --enable-multilib
  2014-05-10  2:12 [PATCH] Avoid passing --enable-multilib Cody Schafer
@ 2014-05-11  0:16 ` Cody P Schafer
  2014-05-11 10:54 ` cc/gcc: avoid " Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Cody P Schafer @ 2014-05-11  0:16 UTC (permalink / raw)
  To: crossgcc

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

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

* cc/gcc: avoid passing --enable-multilib
  2014-05-10  2:12 [PATCH] Avoid passing --enable-multilib Cody Schafer
  2014-05-11  0:16 ` Cody P Schafer
@ 2014-05-11 10:54 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-05-11 10:54 UTC (permalink / raw)
  To: Cody Schafer, Yann E. MORIN; +Cc: crossgcc

Cody, All,

Your patch:
    cc/gcc: avoid passing --enable-multilib

has been applied as: #e35fa03cd204
    http://crosstool-ng.org/hg/crosstool-ng/rev/e35fa03cd204

Thank you!

Regards,
Yann E. MORIN.



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

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

end of thread, other threads:[~2014-05-11 10:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-10  2:12 [PATCH] Avoid passing --enable-multilib Cody Schafer
2014-05-11  0:16 ` Cody P Schafer
2014-05-11 10:54 ` cc/gcc: avoid " 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).