diff --git a/ghc-errors.changes b/ghc-errors.changes index 7711bce..1002a0e 100644 --- a/ghc-errors.changes +++ b/ghc-errors.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:47 UTC 2020 - Peter Simons diff --git a/ghc-errors.spec b/ghc-errors.spec index aab586b..1dc79ac 100644 --- a/ghc-errors.spec +++ b/ghc-errors.spec @@ -31,6 +31,12 @@ BuildRequires: ghc-safe-devel BuildRequires: ghc-text-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 The one-stop shop for all your error-handling needs! Just import