From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 2F2AE1382C5 for ; Fri, 12 Jun 2020 17:25:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D97DE0967; Fri, 12 Jun 2020 17:25:00 +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 50663E0967 for ; Fri, 12 Jun 2020 17:24:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4790A34ED87 for ; Fri, 12 Jun 2020 17:24:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88109278 for ; Fri, 12 Jun 2020 17:24:53 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1591982681.f0cecc7b52bd20fbc674e81496008feff72efc8d.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.44.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: f0cecc7b52bd20fbc674e81496008feff72efc8d X-VCS-Branch: master Date: Fri, 12 Jun 2020 17:24:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c6f244d-3295-479a-b029-55909537e859 X-Archives-Hash: 1c6c6f3a288bb939eab56ad4bd40c536 commit: f0cecc7b52bd20fbc674e81496008feff72efc8d Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jun 12 17:23:31 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jun 12 17:24:41 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0cecc7b dev-lang/rust: fix cross triple detection Bug: https://bugs.gentoo.org/679878 Signed-off-by: Georgy Yakovlev gentoo.org> dev-lang/rust/rust-1.44.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/rust/rust-1.44.0.ebuild b/dev-lang/rust/rust-1.44.0.ebuild index a0e29a784e9..dba7e9ab61e 100644 --- a/dev-lang/rust/rust-1.44.0.ebuild +++ b/dev-lang/rust/rust-1.44.0.ebuild @@ -327,7 +327,7 @@ src_configure() { local cross_llvm_target="${cross_target_spec%%:*}" local cross_triples="${cross_target_spec#*:}" local cross_rust_target="${cross_triples#*:}" - local cross_toolchain="${cross_triples%:*}" + local cross_toolchain="${cross_triples#:*}" use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled" command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"