mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
Fix the following uclibc-ng build failure raised since bump to version
1.6.21 in commit 6ce55ab0ed3b7125cd11ecfe8c18aaf156b5f060 and
875371a75c:
/home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: memcached-thread.o: in function `thread_setname':
thread.c:(.text+0xea2): undefined reference to `pthread_setname_np'
Fixes:
- http://autobuild.buildroot.org/results/e856d381f5ec7d2727f21c8bd46dacb456984416
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit bfa3cd74d017ba47b91729f131daf5d5993c5265)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
988 B
Makefile
37 lines
988 B
Makefile
################################################################################
|
|
#
|
|
# memcached
|
|
#
|
|
################################################################################
|
|
|
|
MEMCACHED_VERSION = 1.6.21
|
|
MEMCACHED_SITE = http://www.memcached.org/files
|
|
MEMCACHED_DEPENDENCIES = libevent
|
|
MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
MEMCACHED_CONF_OPTS = --disable-coverage --disable-werror
|
|
MEMCACHED_LICENSE = BSD-3-Clause
|
|
MEMCACHED_LICENSE_FILES = COPYING
|
|
MEMCACHED_CPE_ID_VENDOR = memcached
|
|
MEMCACHED_SELINUX_MODULES = memcached
|
|
# We're patching configure.ac
|
|
MEMCACHED_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_ENDIAN),"BIG")
|
|
MEMCACHED_CONF_ENV += ac_cv_c_endian=big
|
|
else
|
|
MEMCACHED_CONF_ENV += ac_cv_c_endian=little
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
MEMCACHED_CONF_OPTS += --enable-tls
|
|
MEMCACHED_DEPENDENCIES += host-pkgconf openssl
|
|
else
|
|
MEMCACHED_CONF_OPTS += --disable-tls
|
|
endif
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),)
|
|
MEMCACHED_CONF_OPTS += --disable-static
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|