diff --git a/ghc-easy-file.changes b/ghc-easy-file.changes index 5b9ad1a..68c7525 100644 --- a/ghc-easy-file.changes +++ b/ghc-easy-file.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:42 UTC 2020 - Peter Simons diff --git a/ghc-easy-file.spec b/ghc-easy-file.spec index f1dfcf6..88e0566 100644 --- a/ghc-easy-file.spec +++ b/ghc-easy-file.spec @@ -30,6 +30,12 @@ BuildRequires: ghc-filepath-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel 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 %description Cross-platform File handling for Unix/Mac/Windows.