]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: enable USE_RT on Solaris
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Jun 2019 17:13:28 +0000 (19:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Jun 2019 17:18:53 +0000 (19:18 +0200)
It doesn't build on Ultra5 under Solaris 10 without this due to
clock_gettime() not being found.

Makefile

index 785e313ad626c4bbda9d800e1a09400aa27c73e6..94be6d1b3d98d1800f19f4421e6bf1916f6feee0 100644 (file)
--- 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