From: Willy Tarreau Date: Sun, 16 Jun 2019 17:13:28 +0000 (+0200) Subject: BUILD: makefile: enable USE_RT on Solaris X-Git-Tag: v2.0.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8cc19a1fe522dd18e48a744eb0507cd829867e0;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/Makefile b/Makefile index 785e313ad6..94be6d1b3d 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