diff --git a/ghc-network-multicast.changes b/ghc-network-multicast.changes index 1dcbc7c..2d41bad 100644 --- a/ghc-network-multicast.changes +++ b/ghc-network-multicast.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:45:34 UTC 2020 - Peter Simons diff --git a/ghc-network-multicast.spec b/ghc-network-multicast.spec index 66af7b8..d0ae691 100644 --- a/ghc-network-multicast.spec +++ b/ghc-network-multicast.spec @@ -28,6 +28,12 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-network-bsd-devel BuildRequires: ghc-network-devel BuildRequires: ghc-rpm-macros +# 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 "Network.Multicast" module is for sending UDP datagrams over multicast