From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1224353-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 8C605138359 for <garchives@archives.gentoo.org>; Sun, 22 Nov 2020 20:41:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9686FE075F; Sun, 22 Nov 2020 20:41:18 +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 758D8E075F for <gentoo-commits@lists.gentoo.org>; Sun, 22 Nov 2020 20:41:18 +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 DDB3233C1EB for <gentoo-commits@lists.gentoo.org>; Sun, 22 Nov 2020 20:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56E7142C for <gentoo-commits@lists.gentoo.org>; Sun, 22 Nov 2020 20:41:15 +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: <1606077614.a7a785c24d80eb22cc6f612d907765b695a7001e.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: a7a785c24d80eb22cc6f612d907765b695a7001e X-VCS-Branch: master Date: Sun, 22 Nov 2020 20:41:15 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f4815172-f8a9-4c24-bf38-0bc0c0a73a7e X-Archives-Hash: 64a444af04a264a7a34ad77ea2629f6d commit: a7a785c24d80eb22cc6f612d907765b695a7001e Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Nov 22 20:40:14 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Nov 22 20:40:14 2020 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=a7a785c2 crossdev: default to latest newlib even for stable toolchains. ::gentoo does not have stable keywords for newlib for a while. Let's default to 'latest' to make standard use case to just work. Reported-by: Thymo van Beers Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> crossdev | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crossdev b/crossdev index 5399925..7aa2f5f 100755 --- a/crossdev +++ b/crossdev @@ -858,11 +858,14 @@ for with in HEADERS ; do [[ ${!var} == "COW" ]] && eval ${var}=${!defvar} done -# ::gentoo has no stable 'mingw64-runtime'. Let's default to 'latest' -# unles suser specified something else. +# ::gentoo has no stable 'mingw64-runtime' or 'newlib'. +# Let's default to 'latest' unles suser specified something else. if [[ ${LPKG} == "mingw64-runtime" && ${LVER} == "[stable]" ]]; then LVER="[latest]" fi +if [[ ${LPKG} == "newlib" && ${LVER} == "[stable]" ]]; then + LVER="[latest]" +fi show_target_cfg() { local pkgs crosspkgs=()