From 364d6f529cebf2e3325b77fb29e3b875745b61e7 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 14 Jun 2019 18:33:56 +0200 Subject: [PATCH] BUILD: makefile: enable getaddrinfo on the linux-glibc target getaddrinfo() has been available since glibc 2.3.3 or so and is generally enabled by distro packagers. The main reason for not enabling it on Linux in the past is that it was known broken on some libc alternatives. It's the right moment to enable it by default with glibc. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ce1a87ffb..a9b21b97c0 100644 --- a/Makefile +++ b/Makefile @@ -323,7 +323,8 @@ ifeq ($(TARGET),linux-glibc) set_target_defaults = $(call default_opts, \ USE_POLL USE_TPROXY USE_LIBCRYPT USE_DL USE_RT USE_CRYPT_H USE_NETFILTER \ USE_CPU_AFFINITY USE_THREAD USE_EPOLL USE_FUTEX USE_LINUX_TPROXY \ - USE_ACCEPT4 USE_LINUX_SPLICE USE_PRCTL USE_THREAD_DUMP USE_NS USE_TFO) + USE_ACCEPT4 USE_LINUX_SPLICE USE_PRCTL USE_THREAD_DUMP USE_NS USE_TFO \ + USE_GETADDRINFO) endif # Solaris 8 and above -- 2.39.5