Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Wed, 05 May 2021 20:16:20
Message-Id: 1620245750.8f27765e9ff9d047bd9697191ded79e66fada809.gyakovlev@gentoo
1 commit: 8f27765e9ff9d047bd9697191ded79e66fada809
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 5 19:01:00 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Wed May 5 20:15:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f27765e
7
8 dev-lang/rust: dump RUSTFLAGS* into build log
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 dev-lang/rust/rust-1.51.0-r2.ebuild | 9 ++++++++-
14 1 file changed, 8 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-lang/rust/rust-1.51.0-r2.ebuild b/dev-lang/rust/rust-1.51.0-r2.ebuild
17 index 17e948f5841..926ebd4628c 100644
18 --- a/dev-lang/rust/rust-1.51.0-r2.ebuild
19 +++ b/dev-lang/rust/rust-1.51.0-r2.ebuild
20 @@ -469,8 +469,15 @@ src_configure() {
21 done
22 fi # I_KNOW_WHAT_I_AM_DOING_CROSS
23
24 - einfo "Rust configured with the following settings:"
25 + einfo "Rust configured with the following flags:"
26 +
27 + echo "RUSTFLAGS=\"${RUSTFLAGS:-}\""
28 + echo "RUSTFLAGS_BOOTSTRAP=\"${RUSTFLAGS_BOOTSTRAP:-}\""
29 + echo "RUSTFLAGS_NOT_BOOTSTRAP=\"${RUSTFLAGS_NOT_BOOTSTRAP:-}\""
30 + echo
31 + einfo "config.toml contents:"
32 cat "${S}"/config.toml || die
33 + echo
34 }
35
36 src_compile() {