Drop double-quotes from %_smp_mflags and %_lto_cflags
The double-quotes got added ine811c7ec0b
and2bb7b0cf06
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:
parent
4732701c2e
commit
9b6fdc65ef
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue