diff --git a/anda/misc/rust-hypervisor-firmware/rust-hypervisor-firmware.spec b/anda/misc/rust-hypervisor-firmware/rust-hypervisor-firmware.spec index a67e4a9a84..99df05f6b2 100644 --- a/anda/misc/rust-hypervisor-firmware/rust-hypervisor-firmware.spec +++ b/anda/misc/rust-hypervisor-firmware/rust-hypervisor-firmware.spec @@ -49,7 +49,8 @@ is not possible to boot all the way into the OS. # cat /builddir/build/BUILD/rust-hypervisor-firmware-0.4.2-build/.rustup/settings.toml # export RUSTFLAGS="-C linker=lld -C linker-flavor=ld.lld"; # CARGO_HOME=/home/owen/rpmbuild/BUILD/.cargo RUSTUP_HOME=/home/owen/rpmbuild/BUILD/.rustup -%{cargo_build} -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem +%{__cargo} build --profile rpm --target x86_64-unknown-none.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem +%dnl %{cargo_build} -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem %install install -Dm755 target/rpm/hypervisor-fw %{buildroot}%{_bindir}/hypervisor-fw