diff --git a/ghc-digest.changes b/ghc-digest.changes index 47f9d6c..f47f16b 100644 --- a/ghc-digest.changes +++ b/ghc-digest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com> + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Aug 18 10:44:38 UTC 2020 - Peter Simons <psimons@suse.com> diff --git a/ghc-digest.spec b/ghc-digest.spec index 9bbb36c..3d3e8fe 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -28,6 +28,12 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros BuildRequires: zlib-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 %description This package provides efficient cryptographic hash implementations for strict