Skip to content

Commit

Permalink
dev-lang/rust: dump RUSTFLAGS* into build log
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed May 5, 2021
1 parent f5f3024 commit 8f27765
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dev-lang/rust/rust-1.51.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8f27765

Please sign in to comment.