diff --git a/ghc-parallel.changes b/ghc-parallel.changes index 783479a..6572daf 100644 --- a/ghc-parallel.changes +++ b/ghc-parallel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Mon Aug 31 09:34:38 UTC 2020 - psimons@suse.com diff --git a/ghc-parallel.spec b/ghc-parallel.spec index 41751b8..c2a6ad7 100644 --- a/ghc-parallel.spec +++ b/ghc-parallel.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros +# GHC dont support i586 +%ifarch %{ix86} +ExclusiveArch: i586 i686 +ExclusiveArch: i686 +%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic} +%endif %description This package provides a library for parallel programming.