summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-01-07 18:50:37 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-01-07 19:39:46 +0000
commit60b276fb7c3c5a69b0f888a2c038b9527779eed3 (patch)
tree075649fb9e3d9e0e6af90ee28731898ee2b6c6bb /eclass
parentkernel-2.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only (diff)
downloadgentoo-60b276fb7c3c5a69b0f888a2c038b9527779eed3.tar.gz
gentoo-60b276fb7c3c5a69b0f888a2c038b9527779eed3.tar.bz2
gentoo-60b276fb7c3c5a69b0f888a2c038b9527779eed3.zip
toolchain-glibc.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-glibc.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index d9c692f2ad8f..fb7092daa97b 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -398,7 +398,7 @@ foreach_abi() {
}
just_headers() {
- is_crosscompile && use crosscompile_opts_headers-only
+ is_crosscompile && use headers-only
}
glibc_banner() {