From f8cc19a1fe522dd18e48a744eb0507cd829867e0 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 16 Jun 2019 19:13:28 +0200 Subject: [PATCH] BUILD: makefile: enable USE_RT on Solaris It doesn't build on Ultra5 under Solaris 10 without this due to clock_gettime() not being found. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 785e313ad..94be6d1b3 100644 --- a/Makefile +++ b/Makefile @@ -332,7 +332,7 @@ ifeq ($(TARGET),solaris) # We also enable getaddrinfo() which works since solaris 8. set_target_defaults = $(call default_opts, \ USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \ - USE_OBSOLETE_LINKER USE_EVPORTS) + USE_RT USE_OBSOLETE_LINKER USE_EVPORTS) TARGET_CFLAGS = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ TARGET_LDFLAGS = -lnsl -lsocket endif