package/libgeos: disable inlining on arm
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 24 Jan 2021 13:49:59 +0000 (14:49 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 24 Jan 2021 15:41:52 +0000 (16:41 +0100)
Disable inlining which raise build failures on arm.
It should be noted that inlining is already disabled by usptream on
arm64: https://github.com/libgeos/geos/issues/353

Fixes:
 - http://autobuild.buildroot.org/results/52024b2ccc5d17612731809a5dabcc29a4a1170b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libgeos/libgeos.mk

index 7b4ace122d4e96961976be634ddbea197a141b57..d7905cbb21a917b8574a6129963f5752e72d0184 100644 (file)
@@ -12,4 +12,8 @@ LIBGEOS_LICENSE_FILES = COPYING
 LIBGEOS_INSTALL_STAGING = YES
 LIBGEOS_CONFIG_SCRIPTS = geos-config
 
+ifeq ($(BR2_arm)$(BR2_armeb),y)
+LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
+endif
+
 $(eval $(cmake-package))