Skip to content

Commit

Permalink
toolchain.eclass: Don't inherit eutils
Browse files Browse the repository at this point in the history
None of the ebuilds inheriting toolchain in EAPI 7 needs any of the
remaining eutils features.

Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jun 16, 2023
1 parent b82737f commit 6029280
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eclass/toolchain.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ _TOOLCHAIN_ECLASS=1
DESCRIPTION="The GNU Compiler Collection"
HOMEPAGE="https://gcc.gnu.org/"

[[ ${EAPI} == 7 ]] && inherit eutils
inherit edo flag-o-matic gnuconfig libtool multilib pax-utils toolchain-funcs prefix

tc_is_live() {
Expand Down Expand Up @@ -61,7 +60,6 @@ is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
}


# @FUNCTION: tc_version_is_at_least
# @USAGE: ver1 [ver2]
# @DESCRIPTION:
Expand Down Expand Up @@ -927,7 +925,6 @@ toolchain_src_configure() {
# ;;
# esac


### Cross-compiler options
if is_crosscompile ; then
# Enable build warnings by default with cross-compilers when system
Expand Down

0 comments on commit 6029280

Please sign in to comment.