diff --git a/ghc-aeson.changes b/ghc-aeson.changes index 97a21a2..5abd425 100644 --- a/ghc-aeson.changes +++ b/ghc-aeson.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Oct 6 08:56:45 UTC 2020 - psimons@suse.com diff --git a/ghc-aeson.spec b/ghc-aeson.spec index 1ddb8f0..32aacaf 100644 --- a/ghc-aeson.spec +++ b/ghc-aeson.spec @@ -48,6 +48,12 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-uuid-types-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-Diff-devel BuildRequires: ghc-QuickCheck-devel