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=()