From 7207ea44ed0f8cde134e8da5906ae014659a4aac1f44cba14c9662bb57359598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 18 Dec 2020 12:51:45 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-bootstrap-helpers revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap-helpers?expand=0&rev=10 --- ghc-bootstrap-helpers.changes | 5 +++++ ghc-bootstrap-helpers.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ghc-bootstrap-helpers.changes b/ghc-bootstrap-helpers.changes index 82d81d1..11e86a1 100644 --- a/ghc-bootstrap-helpers.changes +++ b/ghc-bootstrap-helpers.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup + +- force i686 arch on i586 + ------------------------------------------------------------------- Tue Sep 8 09:28:13 UTC 2020 - Ondřej Súkup diff --git a/ghc-bootstrap-helpers.spec b/ghc-bootstrap-helpers.spec index 0bd2b64..fbfc03e 100644 --- a/ghc-bootstrap-helpers.spec +++ b/ghc-bootstrap-helpers.spec @@ -27,6 +27,12 @@ URL: https://build.opensuse.org/project/show/devel:languages:haskell Source: alex-%{alex_ver}.tar.gz Source1: happy-%{happy_ver}.tar.gz BuildRequires: ghc-bootstrap +# 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 # This package is not meant to be used outside OBS Requires: this-is-only-for-build-envs