mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05: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
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue