mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
gnome-base/librsvg: Use cargo_env to ensure proper RUSTFLAGS are applied
This almost removes the need to set cross_compiling=yes but unfortunately, this is still needed for the build to determine the right target directory. Closes: https://bugs.gentoo.org/951740 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
parent
6937fcb873
commit
5fe28b3e44
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -393,7 +393,11 @@ src_compile() {
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
gnome2_src_compile
|
||||
cargo_env gnome2_src_compile
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cargo_env default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@ -405,7 +409,7 @@ src_install() {
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
cargo_env gnome2_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user