BUILD/MINOR: fix solaris build with clang.

clang 9 sets the level to POSIX 2004.
This commit is contained in:
David Carlier 2022-01-13 19:16:48 +00:00 committed by Willy Tarreau
parent 01e2be84d7
commit 4831db2f32
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ ifeq ($(TARGET),solaris)
set_target_defaults = $(call default_opts, \
USE_POLL USE_TPROXY USE_LIBCRYPT USE_CRYPT_H USE_GETADDRINFO USE_THREAD \
USE_RT USE_OBSOLETE_LINKER USE_EVPORTS USE_CLOSEFROM)
TARGET_CFLAGS = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
TARGET_CFLAGS = -DFD_SETSIZE=65536 -D_REENTRANT -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
TARGET_LDFLAGS = -lnsl -lsocket
endif