only echo _smp_mflags if it is defined

epel9
Jens Petersen 10 years ago
parent 14a6d06df6
commit 0d3cc88776

@ -343,7 +343,9 @@ export LDFLAGS="${LDFLAGS:-%__global_ldflags}"
# avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
export LANG=en_US.utf8
%if %{defined _smp_mflags}
echo %{?_smp_mflags}
%endif
%ifarch %{ix86} x86_64
%global _smp_mflags -j16
%endif

Loading…
Cancel
Save