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.14~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ee30416af3a8e891956fe99f738c63a5f7e6c70;p=thirdparty%2Fhaproxy.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 e0aca9b349..5fa8622a75 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