summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-22 17:14:06 +0100
committerSam James <sam@gentoo.org>2022-05-22 19:38:07 +0100
commitf7464e12fa14170470423e46e764dde4b7a8d362 (patch)
treefe1f6168edcb418505ccdaebbdd9b4af7b80400a /eclass
parentsys-devel/gcc: fix GCC 12.1.1 snapshot versioning (diff)
downloadgentoo-f7464e12fa14170470423e46e764dde4b7a8d362.tar.gz
gentoo-f7464e12fa14170470423e46e764dde4b7a8d362.tar.bz2
gentoo-f7464e12fa14170470423e46e764dde4b7a8d362.zip
toolchain.eclass: simplify logic for GCC 9
We're not likely to update the patchset again. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 12959958c587..9e543b9c1b98 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -429,9 +429,8 @@ get_gcc_src_uri() {
fi
local PATCH_SUFFIX="xz"
- if ! tc_version_is_at_least 9.4.1_p20220317 || tc_version_is_between 9 9.5 \
- || tc_version_is_between 10 10.4 || tc_version_is_between 11 11.4 \
- || tc_version_is_between 12 12.0.1_pre20220424 ; then
+ if ! tc_version_is_at_least 10 || tc_version_is_between 10 10.4 \
+ || tc_version_is_between 11 11.4 || tc_version_is_between 12 12.0.1_pre20220424 ; then
# These are versions before we started to use .xz
PATCH_SUFFIX="bz2"
fi