Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: eclass/
Date: Sun, 05 May 2019 16:49:41
Message-Id: 1557074952.e2718633f1d0b9ab11267fe55051b081064f1ae2.anarchy@gentoo
1 commit: e2718633f1d0b9ab11267fe55051b081064f1ae2
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 5 16:49:12 2019 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Sun May 5 16:49:12 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e2718633
7
8 eclass: sync toolchain.eclass
9
10 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
11
12 eclass/toolchain.eclass | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
16 index a3c901d..970d2c8 100644
17 --- a/eclass/toolchain.eclass
18 +++ b/eclass/toolchain.eclass
19 @@ -167,11 +167,13 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
20 IUSE+=" graphite +sanitize" TC_FEATURES+=(graphite)
21 tc_version_is_between 4.9 8 && IUSE+=" cilk"
22 tc_version_is_at_least 4.9 && IUSE+=" +vtv"
23 - tc_version_is_at_least 5.0 && IUSE+=" jit mpx"
24 + tc_version_is_at_least 5.0 && IUSE+=" jit"
25 + tc_version_is_between 5.0 9 && IUSE+=" mpx"
26 tc_version_is_at_least 6.0 && IUSE+=" +pie +ssp +pch"
27 # systemtap is a gentoo-specific switch: bug #654748
28 tc_version_is_at_least 8.0 &&
29 IUSE+=" systemtap" TC_FEATURES+=(systemtap)
30 + tc_version_is_at_least 9.0 && IUSE+=" d"
31 fi
32
33 SLOT="${GCC_CONFIG_VER}"
34 @@ -2397,6 +2399,10 @@ is_go() {
35
36 is_jit() {
37 gcc-lang-supported jit || return 1
38 + # cross-compiler does not really support jit as it has
39 + # to generate code for a target. On target like avr
40 + # libgcclit.so can't link at all: bug #594572
41 + is_crosscompile && return 1
42 use_if_iuse jit
43 }