Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276824 Details for
Bug 370717
support for controlling which ABIs are built
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to remove n32/n64 USE flags from toolchain.eclass
toolchain.eclass.patch (text/plain), 1.95 KB, created by
Matt Turner
on 2011-06-12 17:15:18 UTC
(
hide
)
Description:
patch to remove n32/n64 USE flags from toolchain.eclass
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2011-06-12 17:15:18 UTC
Size:
1.95 KB
patch
obsolete
>Index: toolchain.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v >retrieving revision 1.459 >diff -u -B -r1.459 toolchain.eclass >--- toolchain.eclass 11 Apr 2011 23:11:01 -0000 1.459 >+++ toolchain.eclass 12 Jun 2011 17:12:14 -0000 >@@ -152,11 +152,6 @@ > if tc_version_is_at_least 3 ; then > IUSE+=" bootstrap doc gcj gtk hardened libffi multilib objc" > >- # gcc-{nios2,bfin} don't accept these >- if [[ ${PN} == "gcc" ]] ; then >- IUSE+=" n32 n64" >- fi >- > tc_version_is_at_least "4.0" && IUSE+=" objc-gc mudflap" > tc_version_is_at_least "4.1" && IUSE+=" objc++" > tc_version_is_at_least "4.2" && IUSE+=" openmp" >@@ -787,27 +782,6 @@ > [[ -z ${ETYPE} ]] && die "Your ebuild needs to set the ETYPE variable" > > if [[ ${ETYPE} == "gcc-compiler" ]] ; then >- case $(tc-arch) in >- mips) >- # Must compile for mips64-linux target if we want n32/n64 support >- case "${CTARGET}" in >- mips64*) ;; >- *) >- if use n32 || use n64; then >- eerror "n32/n64 can only be used when target host is mips64*-*-linux-*"; >- die "Invalid USE flags for CTARGET ($CTARGET)"; >- fi >- ;; >- esac >- >- #cannot have both n32 & n64 without multilib >- if use n32 && use n64 && ! is_multilib; then >- eerror "Please enable multilib if you want to use both n32 & n64"; >- die "Invalid USE flag combination"; >- fi >- ;; >- esac >- > # Setup variables which would normally be in the profile > if is_crosscompile ; then > multilib_env ${CTARGET} >@@ -1234,8 +1208,8 @@ > # Add --with-abi flags to set default MIPS ABI > mips) > local mips_abi="" >- use n64 && mips_abi="--with-abi=64" >- use n32 && mips_abi="--with-abi=n32" >+ [[ ${DEFAULT_ABI} == n64 ]] && mips_abi="--with-abi=64" >+ [[ ${DEFAULT_ABI} == n32 ]] && mips_abi="--with-abi=n32" > [[ -n ${mips_abi} ]] && confgcc="${confgcc} ${mips_abi}" > ;; > # Default arch for x86 is normally i386, lets give it a bump
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 370717
: 276824