From bef5705e8d72500193792fb244bb846d3ec2528c Mon Sep 17 00:00:00 2001 From: Holger Jaekel Date: Fri, 22 Nov 2019 17:38:10 +0100 Subject: testing/geos: fix build on arm(hf|v7) Closes !1555 --- testing/geos/APKBUILD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/geos/APKBUILD b/testing/geos/APKBUILD index 6e46436817..ded077193c 100644 --- a/testing/geos/APKBUILD +++ b/testing/geos/APKBUILD @@ -26,6 +26,13 @@ build() { case "$CARCH" in aarch64*|ppc64le) CXXFLAGS="$CXXFLAGS -ffp-contract=off" ;; esac + + # fix build on armhf and armv7 with info from + # https://trac.osgeo.org/geos/ticket/993 + case "$CARCH" in + armhf|armv7) CXXFLAGS="$CXXFLAGS -DDISABLE_GEOS_INLINE=ON" ;; + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ -- cgit v1.2.3