diff --git a/ghc-tls.changes b/ghc-tls.changes index 6a85a69..e8b14b2 100644 --- a/ghc-tls.changes +++ b/ghc-tls.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:46:20 UTC 2020 - Peter Simons diff --git a/ghc-tls.spec b/ghc-tls.spec index e0b3d7a..7ee3fb5 100644 --- a/ghc-tls.spec +++ b/ghc-tls.spec @@ -42,6 +42,12 @@ BuildRequires: ghc-transformers-devel BuildRequires: ghc-x509-devel BuildRequires: ghc-x509-store-devel BuildRequires: ghc-x509-validation-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-QuickCheck-devel BuildRequires: ghc-tasty-devel