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