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

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2021-05-05 12:01:00 -07:00
parent f5f3024c3e
commit 8f27765e9f

View File

@@ -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() {