diff --git a/ghc-libxml-sax.changes b/ghc-libxml-sax.changes index 09f5651..28dcc53 100644 --- a/ghc-libxml-sax.changes +++ b/ghc-libxml-sax.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Fri Sep 4 10:40:13 UTC 2020 - Peter Simons diff --git a/ghc-libxml-sax.spec b/ghc-libxml-sax.spec index e8f102e..e406877 100644 --- a/ghc-libxml-sax.spec +++ b/ghc-libxml-sax.spec @@ -32,6 +32,12 @@ BuildRequires: ghc-xml-types-devel BuildRequires: libxml2-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libxml-2.0) +# 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 Bindings for the libXML2 SAX interface.