diff --git a/ghc-mustache.changes b/ghc-mustache.changes index 5134e46..55f114a 100644 --- a/ghc-mustache.changes +++ b/ghc-mustache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Thu Sep 17 07:31:28 UTC 2020 - Michel Normand diff --git a/ghc-mustache.spec b/ghc-mustache.spec index 8a9f892..3bbcee2 100644 --- a/ghc-mustache.spec +++ b/ghc-mustache.spec @@ -44,6 +44,12 @@ BuildRequires: ghc-th-lift-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-yaml-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-base-unicode-symbols-devel BuildRequires: ghc-hspec-devel