summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-01-07 18:50:51 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-01-07 19:39:46 +0000
commite1172c04556bc25be18ebb0edc2b1beae7199260 (patch)
tree82aa588bf5cf7c9efd92cb36127f4f578a3935c8 /eclass/toolchain.eclass
parenttoolchain-glibc.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers... (diff)
downloadgentoo-e1172c04556bc25be18ebb0edc2b1beae7199260.tar.gz
gentoo-e1172c04556bc25be18ebb0edc2b1beae7199260.tar.bz2
gentoo-e1172c04556bc25be18ebb0edc2b1beae7199260.zip
toolchain.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/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 7fc4c70652f3..c1fe72d93542 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -993,7 +993,7 @@ toolchain_src_configure() {
--disable-threads
--without-headers
)
- elif has_version "${CATEGORY}/${needed_libc}[crosscompile_opts_headers-only(-)]" ; then
+ elif has_version "${CATEGORY}/${needed_libc}[headers-only(-)]" ; then
confgcc+=(
"${confgcc_no_libc[@]}"
--with-sysroot="${PREFIX}"/${CTARGET}