From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-994069-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D28CA1381F3 for <garchives@archives.gentoo.org>; Sat, 30 Dec 2017 17:41:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47ECDE08AC; Sat, 30 Dec 2017 17:41:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 203B9E08AC for <gentoo-commits@lists.gentoo.org>; Sat, 30 Dec 2017 17:41:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F807335C37 for <gentoo-commits@lists.gentoo.org>; Sat, 30 Dec 2017 17:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 099DE19A for <gentoo-commits@lists.gentoo.org>; Sat, 30 Dec 2017 17:41:22 +0000 (UTC) From: "Sergei Trofimovich" <slyfox@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" <slyfox@gentoo.org> Message-ID: <1514655420.599c41fb4d25d18cd6571cb2a6c793906682c259.slyfox@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 599c41fb4d25d18cd6571cb2a6c793906682c259 X-VCS-Branch: master Date: Sat, 30 Dec 2017 17:41:22 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0c0fa5fa-271d-4b48-bb02-b55f1580bd15 X-Archives-Hash: 9424694cdabd8bd5c6ae63374f2fe996 commit: 599c41fb4d25d18cd6571cb2a6c793906682c259 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sat Dec 30 17:37:00 2017 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sat Dec 30 17:37:00 2017 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=599c41fb crossdev: prepare for CROSSCOMPILE_OPTS=headers-only -> USE=headers-only transition Crossdev will provide both CROSSCOMPILE_OPTS=headers-only USE=headers-only to early toolchain bootstrap stage while ::gentoo is not completely migrated off CROSSCOMPILE_OPTS=headers-only The longer-term plan is to get rid of 'CROSSCOMPILE_OPTS=' completely. Reported-by: Michał Górny Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> crossdev | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crossdev b/crossdev index d546dbe..fd9f598 100755 --- a/crossdev +++ b/crossdev @@ -1312,7 +1312,7 @@ if ! ex_fast ; then # first install headers if requested if with_headers ; then # install kernel headers (since the C library often uses them) - USE="${KUSE} ${USE}" \ + USE="${KUSE} ${USE} headers-only" \ CROSSCOMPILE_OPTS="headers-only" \ doemerge ${KPKG} ${KPKG}-quick @@ -1321,7 +1321,7 @@ if ! ex_fast ; then # we have to use --nodeps as glibc itself might have # a dependency on newer gcc versions that we don't # care about at this point -- we aren't compiling yet - USE="${LUSE} ${USE}" \ + USE="${LUSE} ${USE} headers-only" \ CROSSCOMPILE_OPTS="headers-only" \ EOPTS="${EOPTS} --nodeps" \ doemerge ${LPKG} ${LPKG}-headers @@ -1336,7 +1336,7 @@ if ! ex_fast ; then # stage2: kernel headers if is_s2 ; then - set_eopts_on_pkg_status ${KPKG} crosscompile_opts_headers-only + set_eopts_on_pkg_status ${KPKG} crosscompile_opts_headers-only headers-only USE="${KUSE} ${USE}" \ CROSSCOMPILE_OPTS="" \ @@ -1347,7 +1347,7 @@ if ! ex_fast ; then if is_s3 ; then [[ -z ${LPKG} ]] && die "Invalid target '${CTARGET}': unknown libc" - set_eopts_on_pkg_status ${LPKG} crosscompile_opts_headers-only + set_eopts_on_pkg_status ${LPKG} crosscompile_opts_headers-only headers-only USE="${LUSE} ${USE}" \ CROSSCOMPILE_OPTS="" \