commit:     8f27765e9ff9d047bd9697191ded79e66fada809
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed May  5 19:01:00 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed May  5 20:15:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f27765e

dev-lang/rust: dump RUSTFLAGS* into build log

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust/rust-1.51.0-r2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.51.0-r2.ebuild 
b/dev-lang/rust/rust-1.51.0-r2.ebuild
index 17e948f5841..926ebd4628c 100644
--- a/dev-lang/rust/rust-1.51.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.51.0-r2.ebuild
@@ -469,8 +469,15 @@ src_configure() {
        done
        fi # I_KNOW_WHAT_I_AM_DOING_CROSS
 
-       einfo "Rust configured with the following settings:"
+       einfo "Rust configured with the following flags:"
+
+       echo "RUSTFLAGS=\"${RUSTFLAGS:-}\""
+       echo "RUSTFLAGS_BOOTSTRAP=\"${RUSTFLAGS_BOOTSTRAP:-}\""
+       echo "RUSTFLAGS_NOT_BOOTSTRAP=\"${RUSTFLAGS_NOT_BOOTSTRAP:-}\""
+       echo
+       einfo "config.toml contents:"
        cat "${S}"/config.toml || die
+       echo
 }
 
 src_compile() {

Reply via email to