mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
2b0c3604a4
Changelog: https://github.com/libgeos/geos/releases/tag/3.12.2
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 5777bfc0f7
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
732 B
Makefile
29 lines
732 B
Makefile
################################################################################
|
|
#
|
|
# libgeos
|
|
#
|
|
################################################################################
|
|
|
|
LIBGEOS_VERSION = 3.12.2
|
|
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
|
|
LIBGEOS_CONF_OPTS = -DBUILD_BENCHMARKS=OFF
|
|
|
|
LIBGEOS_CXXFLAGS = $(TARGET_CXXCFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
|
LIBGEOS_CXXFLAGS += -O0
|
|
endif
|
|
|
|
ifeq ($(BR2_or1k),y)
|
|
LIBGEOS_CXXFLAGS += -mcmodel=large
|
|
endif
|
|
|
|
LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)"
|
|
|
|
$(eval $(cmake-package))
|