diff --git a/mesa.spec b/mesa.spec index 93b136f..d8a1f6d 100644 --- a/mesa.spec +++ b/mesa.spec @@ -332,6 +332,9 @@ The drivers with support for the Vulkan API. cp %{SOURCE1} docs/ %build +# ensure standard Rust compiler flags are set +export RUSTFLAGS="%build_rustflags" + # We've gotten a report that enabling LTO for mesa breaks some games. See # https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. # Disable LTO for now