diff --git a/ghc-unicode-transforms.changes b/ghc-unicode-transforms.changes index 5c5049c..d733672 100644 --- a/ghc-unicode-transforms.changes +++ b/ghc-unicode-transforms.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Oct 13 07:00:26 UTC 2020 - psimons@suse.com diff --git a/ghc-unicode-transforms.spec b/ghc-unicode-transforms.spec index 5c26d3b..48c8ad7 100644 --- a/ghc-unicode-transforms.spec +++ b/ghc-unicode-transforms.spec @@ -29,6 +29,12 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-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-QuickCheck-devel BuildRequires: ghc-deepseq-devel