diff --git a/ghc-case-insensitive.changes b/ghc-case-insensitive.changes index 1bdcf40..3e2e4ad 100644 --- a/ghc-case-insensitive.changes +++ b/ghc-case-insensitive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Aug 18 10:44:15 UTC 2020 - Peter Simons diff --git a/ghc-case-insensitive.spec b/ghc-case-insensitive.spec index 7a1075e..9b78852 100644 --- a/ghc-case-insensitive.spec +++ b/ghc-case-insensitive.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-deepseq-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-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-test-framework-devel