aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-11-22 20:40:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-11-22 20:40:14 +0000
commita7a785c24d80eb22cc6f612d907765b695a7001e (patch)
tree020857d7c0c1685ca0334e30de2e1778592e1797 /crossdev
parentcrossdev: disable USE=libraries for stage1 install (diff)
downloadcrossdev-a7a785c24d80eb22cc6f612d907765b695a7001e.tar.gz
crossdev-a7a785c24d80eb22cc6f612d907765b695a7001e.tar.bz2
crossdev-a7a785c24d80eb22cc6f612d907765b695a7001e.zip
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@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-xcrossdev7
1 files 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=()