From e1963c8d0d8efa40dfcc8428eee6c565cc360944f326b93de1b2e16c547b868c Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 16 Nov 2021 14:53:48 +0000 Subject: [PATCH] Accepting request 931666 from home:Guillaume_G:branches:Application:Geo - Disable inline to fix build on armv6/7 https://trac.osgeo.org/geos/ticket/993 OBS-URL: https://build.opensuse.org/request/show/931666 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=40 --- geos.changes | 6 ++++++ geos.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/geos.changes b/geos.changes index 7cb0c15..c23c131 100644 --- a/geos.changes +++ b/geos.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 16 07:45:45 UTC 2021 - Guillaume GARDET + +- Disable inline to fix build on armv6/7 + https://trac.osgeo.org/geos/ticket/993 + ------------------------------------------------------------------- Tue Feb 23 19:07:22 UTC 2021 - Dirk Müller diff --git a/geos.spec b/geos.spec index 25441bd..d6d1ab9 100644 --- a/geos.spec +++ b/geos.spec @@ -79,7 +79,12 @@ use GEOS. %setup -q %build -%configure --disable-static +# Disable inline for armv6/7 - https://trac.osgeo.org/geos/ticket/993 +%configure \ +%ifarch %{arm} + --disable-inline \ +%endif + --disable-static make %{?_smp_mflags} # tests fail with older releases and non-intel architectures