Ensure standard Rust compiler flags are set

This commit is contained in:
Fabio Valentini 2023-02-05 20:33:19 +01:00
parent 4a6a053618
commit e7344b6d97
No known key found for this signature in database
GPG key ID: 5AC5F572E5D410AF

View file

@ -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