summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-09 12:02:18 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-09 12:06:35 +0000
commit66666c48e0856461169819b1f23a551077bb5a15 (patch)
tree54f5b2e165cf74a43b76b2bd5d2b162af99c3dd5 /eclass
parenttoolchain.eclass: drop GCC_A_FAKEIT and gcc_quick_unpack() (diff)
downloadgentoo-66666c48e0856461169819b1f23a551077bb5a15.tar.gz
gentoo-66666c48e0856461169819b1f23a551077bb5a15.tar.bz2
gentoo-66666c48e0856461169819b1f23a551077bb5a15.zip
toolchain.eclass: assert GCC_RELEASE_VER to match gcc/BASE-VER
Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index e280ee07eb64..71c3cbc8c76d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -536,9 +536,7 @@ toolchain_src_prepare() {
local actual_version=$(< "${S}"/gcc/BASE-VER)
if [[ "${GCC_RELEASE_VER}" != "${actual_version}" ]] ; then
eerror "'${S}/gcc/BASE-VER' contains '${actual_version}', expected '${GCC_RELEASE_VER}'"
- # TODO: once ada ebuilds are fixed turn it to 'die'
- eerror "Please set GCC_RELEASE_VER to '${actual_version}'"
- echo "${GCC_CONFIG_VER}" > "${S}"/gcc/BASE-VER
+ die "Please set 'TOOLCHAIN_GCC_PV' to '${actual_version}'"
fi
fi