Drop double-quotes from %_smp_mflags and %_lto_cflags

The double-quotes got added in e811c7ec0b
and 2bb7b0cf06 but traditionally there have
been no quotes around %_smp_mflags output, to avoid risking any breakage
due to such a simple thing, lets go back to how it used to be.
This commit is contained in:
Panu Matilainen 2019-01-15 11:47:29 +02:00
parent 4732701c2e
commit 9b6fdc65ef
1 changed files with 2 additions and 2 deletions

View File

@ -57,10 +57,10 @@
if [ -n "$ncpus_max" ] && [ "$ncpus_max" -gt 0 ] && [ "$RPM_BUILD_NCPUS" -gt "$ncpus_max" ]; then RPM_BUILD_NCPUS="$ncpus_max"; fi; \\\
echo "$RPM_BUILD_NCPUS";)
%_smp_mflags "-j%{_smp_build_ncpus}"
%_smp_mflags -j%{_smp_build_ncpus}
# Enable LTO optimization with a maximal parallelism
%_lto_cflags "-flto=%{_smp_build_ncpus}"
%_lto_cflags -flto=%{_smp_build_ncpus}
#==============================================================================
# ---- Build policy macros.