diff --git a/ghc-unliftio.changes b/ghc-unliftio.changes index 278c3c2..c2fd8d4 100644 --- a/ghc-unliftio.changes +++ b/ghc-unliftio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Oct 30 03:01:41 UTC 2020 - psimons@suse.com diff --git a/ghc-unliftio.spec b/ghc-unliftio.spec index 9463f3e..7b85992 100644 --- a/ghc-unliftio.spec +++ b/ghc-unliftio.spec @@ -38,6 +38,12 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-unliftio-core-devel +# 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-QuickCheck-devel BuildRequires: ghc-containers-devel