Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 07 Jan 2018 19:40:04
Message-Id: 1515353986.60b276fb7c3c5a69b0f888a2c038b9527779eed3.slyfox@gentoo
1 commit: 60b276fb7c3c5a69b0f888a2c038b9527779eed3
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:50:37 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 19:39:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b276fb
7
8 toolchain-glibc.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
9
10 CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
11 Convert it to a global USE flag instead.
12
13 Mechanical ebuild rename done as:
14 $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
15 -i $(git grep -l headers-only)
16
17 'headers-only' flag is used by crossdev to bootstrap stage1 compiler
18 before libc is available.
19
20 crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.
21
22 Bug: https://bugs.gentoo.org/642712
23 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
24
25 eclass/toolchain-glibc.eclass | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28 diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
29 index d9c692f2ad8..fb7092daa97 100644
30 --- a/eclass/toolchain-glibc.eclass
31 +++ b/eclass/toolchain-glibc.eclass
32 @@ -398,7 +398,7 @@ foreach_abi() {
33 }
34
35 just_headers() {
36 - is_crosscompile && use crosscompile_opts_headers-only
37 + is_crosscompile && use headers-only
38 }
39
40 glibc_banner() {