2014-07-17 23:20:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libmemcached
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-08-01 11:27:23 +02:00
|
|
|
LIBMEMCACHED_VERSION_MAJOR = 1.0
|
|
|
|
LIBMEMCACHED_VERSION = $(LIBMEMCACHED_VERSION_MAJOR).18
|
|
|
|
LIBMEMCACHED_SITE = http://launchpad.net/libmemcached/$(LIBMEMCACHED_VERSION_MAJOR)/$(LIBMEMCACHED_VERSION)/+download
|
2014-11-12 00:42:44 +01:00
|
|
|
LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' \
|
|
|
|
ax_cv_check_cflags__Werror__fmudflapth=no \
|
|
|
|
ax_cv_check_cxxflags__Werror__fmudflapth=no
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBMEMCACHED_CONF_OPTS = --disable-dtrace
|
2014-07-17 23:20:14 +02:00
|
|
|
LIBMEMCACHED_INSTALL_STAGING = YES
|
|
|
|
LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
|
2014-11-13 12:11:57 +01:00
|
|
|
# For 0001-disable-tests.patch and 0002-disable-sanitizer.patch
|
2014-07-19 14:05:53 +02:00
|
|
|
LIBMEMCACHED_AUTORECONF = YES
|
2014-07-17 23:20:14 +02:00
|
|
|
LIBMEMCACHED_LICENSE = BSD-3c
|
|
|
|
LIBMEMCACHED_LICENSE_FILES = COPYING
|
|
|
|
|
2016-07-11 16:35:14 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
2015-05-11 22:55:36 +02:00
|
|
|
LIBMEMCACHED_CONF_ENV += \
|
|
|
|
ax_cv_check_cflags__Werror__fPIE=no \
|
|
|
|
ax_cv_check_cflags__Werror__pie=no \
|
|
|
|
ax_cv_check_cxxflags__Werror__fPIE=no \
|
|
|
|
ax_cv_check_cxxflags__Werror__pie=no
|
|
|
|
endif
|
|
|
|
|
2014-07-17 23:20:14 +02:00
|
|
|
$(eval $(autotools-package))
|