File 1.patch of Package ghc-rpm-macros
diff --git a/macros.ghc-suse b/macros.ghc-suse index 3fe39a0..d731ea6 100644 --- a/macros.ghc-suse +++ b/macros.ghc-suse @@ -29,4 +29,5 @@ mkdir -p %{buildroot}/usr/src/debug %with_ghc_prof 1 # %%{?_smp_ncpus_max:--jobs=%%{?_smp_ncpus_max}} -%ghc_smp_mflags %{?_smp_mflags} +# parallel compile causes assignment of random symbol names +# so for distribution releases we build single-threaded, which is slower, but gives reproducible results