Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188701 Details for
Bug 266564
toolchain.eclass changes for amd64 32bit userland profile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow a bi-arch gcc on i686
toolchain-32bit-userland.patch (text/plain), 1.19 KB, created by
Daniel Gryniewicz (RETIRED)
on 2009-04-17 17:25:09 UTC
(
hide
)
Description:
patch to allow a bi-arch gcc on i686
Filename:
MIME Type:
Creator:
Daniel Gryniewicz (RETIRED)
Created:
2009-04-17 17:25:09 UTC
Size:
1.19 KB
patch
obsolete
>--- /usr/portage/eclass/toolchain.eclass 2009-04-04 12:52:40.000000000 -0400 >+++ eclass/toolchain.eclass 2009-04-13 09:31:10.000000000 -0400 >@@ -1390,13 +1390,12 @@ gcc_do_configure() { > fi > [[ ${GCCMAJOR}.${GCCMINOR} < 3.4 ]] && confgcc="${confgcc} --disable-libunwind-exceptions" > >- # create a sparc*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) >- if [[ ${CTARGET} == sparc*linux* ]] \ >- && is_multilib \ >- && [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] >- then >- confgcc="${confgcc} --enable-targets=all" >- fi >+ # create a (i386|sparc)*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) >+ case ${CTARGET} in >+ i?86*linux*| \ >+ sparc*linux*) >+ is_multilib && [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] && confgcc="${confgcc} --enable-targets=all" >+ esac > > tc_version_is_at_least 4.3 && set -- "$@" \ > --with-bugurl=http://bugs.gentoo.org/ \ >@@ -2497,13 +2496,7 @@ fix_libtool_libdir_paths() { > > is_multilib() { > [[ ${GCCMAJOR} < 3 ]] && return 1 >- case ${CTARGET} in >- mips64*|powerpc64*|s390x*|sparc*|x86_64*) >- has_multilib_profile || use multilib ;; >- *-*-solaris*) use multilib ;; >- *-apple-darwin*) use multilib ;; >- *) false ;; >- esac >+ has_multilib_profile || use multilib > } > > is_cxx() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266564
:
188701
|
189049
|
192600