summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-05 01:36:17 +0000
committerSam James <sam@gentoo.org>2022-12-05 01:36:35 +0000
commit5bb51e9a29ab1683a36ed45c5aa56228b6968d3f (patch)
tree9eacd661e2cc9d92ef07a5af450c0512d2abc06d /eclass
parentx11-misc/lndir: Version bump to 1.0.4 (diff)
downloadgentoo-5bb51e9a29ab1683a36ed45c5aa56228b6968d3f.tar.gz
gentoo-5bb51e9a29ab1683a36ed45c5aa56228b6968d3f.tar.bz2
gentoo-5bb51e9a29ab1683a36ed45c5aa56228b6968d3f.zip
toolchain.eclass: fix default-* addition for new GCC 12 snapshot
Fixes: adf44514cf590a860b3140efae31187854cf8cea Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index b90345cccd73..ea223984de2e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -278,8 +278,8 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
tc_version_is_at_least 11 && IUSE+=" valgrind" TC_FEATURES+=( valgrind )
tc_version_is_at_least 11 && IUSE+=" custom-cflags"
tc_version_is_at_least 12 && IUSE+=" ieee-long-double"
- tc_version_is_at_least 12.2.1_p20221203 && IUSE+=" default-znow"
- tc_version_is_at_least 12.2.1_p20221203 && IUSE+=" default-stack-clash-protection"
+ tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-znow"
+ tc_version_is_at_least 12.2.1_p20221203 ${PV} && IUSE+=" default-stack-clash-protection"
fi
if tc_version_is_at_least 10; then