diff --git a/ghc-filepath-bytestring.changes b/ghc-filepath-bytestring.changes index fc34a90..eda9f97 100644 --- a/ghc-filepath-bytestring.changes +++ b/ghc-filepath-bytestring.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:51 UTC 2020 - Peter Simons diff --git a/ghc-filepath-bytestring.spec b/ghc-filepath-bytestring.spec index ac1bc82..abe1902 100644 --- a/ghc-filepath-bytestring.spec +++ b/ghc-filepath-bytestring.spec @@ -29,6 +29,12 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-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-filepath-devel