[BUILD] disable warning about localtime_r on Solaris

Solaris only declares localtime_r() if _REENTRANT is defined. Update
the makefile to silent the warning.
This commit is contained in:
Willy Tarreau 2007-11-03 16:18:11 +01:00
parent a7e76142a1
commit 2ee30416af

View File

@ -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