Message ID | 5c970c1ceb22528fe28a.1399687923@localhost |
---|---|
State | Accepted |
Commit | e35fa03cd204 |
Headers | show |
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
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
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[*]}'"