From 8f27765e9ff9d047bd9697191ded79e66fada809 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 5 May 2021 12:01:00 -0700 Subject: [PATCH] dev-lang/rust: dump RUSTFLAGS* into build log Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev --- 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 17e948f584123..926ebd4628c44 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() {