diff --git a/ghc-shakespeare.changes b/ghc-shakespeare.changes index 37c97c3..ac17eb0 100644 --- a/ghc-shakespeare.changes +++ b/ghc-shakespeare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Aug 28 11:38:38 UTC 2020 - psimons@suse.com diff --git a/ghc-shakespeare.spec b/ghc-shakespeare.spec index 80e37e0..92e26bf 100644 --- a/ghc-shakespeare.spec +++ b/ghc-shakespeare.spec @@ -44,6 +44,12 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-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-HUnit-devel BuildRequires: ghc-hspec-devel