From: Willy Tarreau Date: Sat, 3 Nov 2007 15:18:11 +0000 (+0100) Subject: [BUILD] disable warning about localtime_r on Solaris X-Git-Tag: v1.3.13.1~3 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=a46545b695d7e840bb2459762c934b7664703360;p=haproxy.git [BUILD] disable warning about localtime_r on Solaris Solaris only declares localtime_r() if _REENTRANT is defined. Update the makefile to silent the warning. --- 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