From 2ee30416af3a8e891956fe99f738c63a5f7e6c70 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 3 Nov 2007 16:18:11 +0100 Subject: [PATCH] [BUILD] disable warning about localtime_r on Solaris Solaris only declares localtime_r() if _REENTRANT is defined. Update the makefile to silent the warning. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0aca9b34..5fa8622a7 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ COPTS.linux22 = -DUSE_GETSOCKNAME LIBS.linux22 = # This is for Solaris 8 -COPTS.solaris = -fomit-frame-pointer -DFD_SETSIZE=65536 +COPTS.solaris = -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT LIBS.solaris = -lnsl -lsocket # CPU dependant optimizations