2021-01-12 09:18:55 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgeos
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-01-28 06:00:13 +01:00
|
|
|
LIBGEOS_VERSION = 3.10.2
|
2021-01-12 09:18:55 +01:00
|
|
|
LIBGEOS_SITE = http://download.osgeo.org/geos
|
|
|
|
LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2
|
|
|
|
LIBGEOS_LICENSE = LGPL-2.1
|
|
|
|
LIBGEOS_LICENSE_FILES = COPYING
|
|
|
|
LIBGEOS_INSTALL_STAGING = YES
|
|
|
|
LIBGEOS_CONFIG_SCRIPTS = geos-config
|
2021-01-30 11:23:48 +01:00
|
|
|
LIBGEOS_CONF_OPTS = -DBUILD_BENCHMARKS=OFF
|
2021-01-12 09:18:55 +01:00
|
|
|
|
2021-02-12 23:42:38 +01:00
|
|
|
LIBGEOS_CXXFLAGS = $(TARGET_CXXCFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
|
|
|
LIBGEOS_CXXFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
2021-01-24 14:49:59 +01:00
|
|
|
ifeq ($(BR2_arm)$(BR2_armeb),y)
|
|
|
|
LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
|
|
|
|
endif
|
|
|
|
|
2021-07-27 00:34:33 +02:00
|
|
|
ifeq ($(BR2_or1k),y)
|
|
|
|
LIBGEOS_CXXFLAGS += -mcmodel=large
|
|
|
|
endif
|
|
|
|
|
2021-02-12 23:42:38 +01:00
|
|
|
LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)"
|
|
|
|
|
2021-01-12 09:18:55 +01:00
|
|
|
$(eval $(cmake-package))
|