mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-05 21:11:53 +00:00
[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:
parent
a7e76142a1
commit
2ee30416af
2
Makefile
2
Makefile
@ -69,7 +69,7 @@ COPTS.linux22 = -DUSE_GETSOCKNAME
|
|||||||
LIBS.linux22 =
|
LIBS.linux22 =
|
||||||
|
|
||||||
# This is for Solaris 8
|
# 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
|
LIBS.solaris = -lnsl -lsocket
|
||||||
|
|
||||||
# CPU dependant optimizations
|
# CPU dependant optimizations
|
||||||
|
Loading…
Reference in New Issue
Block a user