diff --git a/ghc-kan-extensions.changes b/ghc-kan-extensions.changes index 0891611..c570ac0 100644 --- a/ghc-kan-extensions.changes +++ b/ghc-kan-extensions.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:17 UTC 2020 - psimons@suse.com diff --git a/ghc-kan-extensions.spec b/ghc-kan-extensions.spec index df480f8..f9c3528 100644 --- a/ghc-kan-extensions.spec +++ b/ghc-kan-extensions.spec @@ -40,6 +40,12 @@ BuildRequires: ghc-semigroupoids-devel BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-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 Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density