Don’t assume %_smp_mflags is -j%_smp_build_ncpus

This commit is contained in:
Benjamin A. Beasley 2023-04-25 14:16:03 -04:00
parent f45b27cdd1
commit d395ac4931

View File

@ -120,7 +120,7 @@ export LLVM_CONFIG="%{_libdir}/llvm11/bin/llvm-config"
%pyproject_wheel
%if %{with doc_pdf}
%make_build -C docs latex SPHINXOPTS='%{?_smp_mflags}'
%make_build -C docs latex SPHINXOPTS='-j%{?_smp_build_ncpus}'
%make_build -C docs/_build/latex LATEXMKOPTS='-quiet'
%endif