diff options
author | David Michael <fedora.dm0@gmail.com> | 2020-03-08 11:33:19 -0400 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-09 23:57:20 +0000 |
commit | 4acf595771eaaceb14050a938f8e038c90149c15 (patch) | |
tree | 76f730535db0f059c278fbc3d1f47dfd5d5f2b09 /eclass/toolchain.eclass | |
parent | media-libs/mesa: Version bump to 19.3.5 (diff) | |
download | gentoo-4acf595771eaaceb14050a938f8e038c90149c15.tar.gz gentoo-4acf595771eaaceb14050a938f8e038c90149c15.tar.bz2 gentoo-4acf595771eaaceb14050a938f8e038c90149c15.zip |
toolchain.eclass: move --build dependencies to BDEPEND
This allows cross-compiling comilers with a much smaller dependency set.
Bug: https://bugs.gentoo.org/700898
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index ece57dafbd75..9f4359219225 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -231,7 +231,7 @@ if tc_has_feature graphite ; then RDEPEND+=" graphite? ( >=dev-libs/isl-0.14:0= )" fi -DEPEND="${RDEPEND} +BDEPEND=" >=sys-devel/bison-1.875 >=sys-devel/flex-2.5.4 nls? ( sys-devel/gettext ) @@ -239,6 +239,7 @@ DEPEND="${RDEPEND} >=dev-util/dejagnu-1.4.4 >=sys-devel/autogen-5.5.4 )" +DEPEND="${RDEPEND}" if tc_has_feature gcj ; then GCJ_DEPS=">=media-libs/libart_lgpl-2.1" @@ -264,6 +265,10 @@ if tc_has_feature zstd ; then DEPEND+=" zstd? ( app-arch/zstd )" fi +case ${EAPI:-0} in + 5*|6) DEPEND+=" ${BDEPEND}" ;; +esac + PDEPEND=">=sys-devel/gcc-config-1.7" #---->> S + SRC_URI essentials <<---- |