Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 513152 Details for
Bug 610456
toolchain.eclass: uses built_with_use
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
toolchain.eclass.patch (text/plain), 1.76 KB, created by
Ulrich Müller
on 2018-01-04 09:12:48 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2018-01-04 09:12:48 UTC
Size:
1.76 KB
patch
obsolete
>diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass >index 36d344012d44..7fc4c70652f3 100644 >--- a/eclass/toolchain.eclass >+++ b/eclass/toolchain.eclass >@@ -1,4 +1,4 @@ >-# Copyright 1999-2016 Gentoo Foundation >+# Copyright 1999-2018 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > > # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> >@@ -23,14 +23,13 @@ fi > > FEATURES=${FEATURES/multilib-strict/} > >-EXPORTED_FUNCTIONS="pkg_setup src_unpack src_compile src_test src_install pkg_postinst pkg_postrm" > case ${EAPI:-0} in >- 0|1) die "Need to upgrade to at least EAPI=2";; >- 2|3) EXPORTED_FUNCTIONS+=" src_prepare src_configure" ;; >- 4*|5*) EXPORTED_FUNCTIONS+=" pkg_pretend src_prepare src_configure" ;; >- *) die "I don't speak EAPI ${EAPI}." >+ 0|1|2|3) die "Need to upgrade to at least EAPI=4" ;; >+ 4*|5*) ;; >+ *) die "I don't speak EAPI ${EAPI}." ;; > esac >-EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} >+EXPORT_FUNCTIONS pkg_pretend pkg_setup src_unpack src_prepare src_configure \ >+ src_compile src_test src_install pkg_postinst pkg_postrm > > #---->> globals <<---- > >@@ -390,10 +389,6 @@ toolchain_pkg_pretend() { > #---->> pkg_setup <<---- > > toolchain_pkg_setup() { >- case ${EAPI} in >- 2|3) toolchain_pkg_pretend ;; >- esac >- > # we dont want to use the installed compiler's specs to build gcc > unset GCC_SPECS > unset LANGUAGES #265283 >@@ -998,7 +993,7 @@ toolchain_src_configure() { > --disable-threads > --without-headers > ) >- elif built_with_use --hidden --missing false ${CATEGORY}/${needed_libc} crosscompile_opts_headers-only ; then >+ elif has_version "${CATEGORY}/${needed_libc}[crosscompile_opts_headers-only(-)]" ; then > confgcc+=( > "${confgcc_no_libc[@]}" > --with-sysroot="${PREFIX}"/${CTARGET}
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 610456
: 513152