rust2rpm/data/macros.rust
Igor Gnatenko 74beb9388f move RPM stuff into subdirectory
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-02-05 18:15:28 +01:00

9 lines
304 B
Text

%__rustc %{_bindir}/rustc
# Enable optimization, debuginfo, and link hardening.
%__global_rustflags -Copt-level=3 -g -Clink-arg=-Wl,-z,relro,-z,now
%__global_rustflags_toml [%{lua:
for arg in string.gmatch(rpm.expand("%{__global_rustflags}"), "%S+") do
print('"' .. arg .. '", ')
end}]