toolchain.eclass: USE=mpx was dropped upstream from >=gcc-9
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 3 May 2019 18:23:02 +0000 (19:23 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 3 May 2019 20:26:46 +0000 (21:26 +0100)
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain.eclass

index f5daa73233db51df54eb3ed02b7a10c673fbd5f9..5e7497dffcdb5be1e4ece4edce9cd5c287652fb5 100644 (file)
@@ -167,7 +167,8 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
                IUSE+=" graphite +sanitize" TC_FEATURES+=(graphite)
        tc_version_is_between 4.9 8 && IUSE+=" cilk"
        tc_version_is_at_least 4.9 && IUSE+=" +vtv"
-       tc_version_is_at_least 5.0 && IUSE+=" jit mpx"
+       tc_version_is_at_least 5.0 && IUSE+=" jit"
+       tc_version_is_between 5.0 9 && IUSE+=" mpx"
        tc_version_is_at_least 6.0 && IUSE+=" +pie +ssp +pch"
        # systemtap is a gentoo-specific switch: bug #654748
        tc_version_is_at_least 8.0 &&