diff --git a/ghc-monad-par.changes b/ghc-monad-par.changes index 95f441d..8e19672 100644 --- a/ghc-monad-par.changes +++ b/ghc-monad-par.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Sat Nov 7 15:34:17 UTC 2020 - psimons@suse.com diff --git a/ghc-monad-par.spec b/ghc-monad-par.spec index 32f4b11..7040607 100644 --- a/ghc-monad-par.spec +++ b/ghc-monad-par.spec @@ -37,6 +37,12 @@ BuildRequires: ghc-mtl-devel BuildRequires: ghc-mwc-random-devel BuildRequires: ghc-parallel-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 %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel