XOPEN_SOURCE 600 for in6
FossilOrigin-Name: 8ec24c8f4cd21cd48c34d4fa3d14cadb422e0fbd4272847e70714280f42a7d51
This commit is contained in:
parent
936eed4636
commit
d603e05c6b
@ -4,7 +4,7 @@ OPENSSL_CFLAGS=../contrib/${OPENSSL_VERSION}/include/
|
|||||||
else
|
else
|
||||||
OPENSSL_LDFLAGS=
|
OPENSSL_LDFLAGS=
|
||||||
OPENSSL_CFLAGS=
|
OPENSSL_CFLAGS=
|
||||||
OPENSSL_LIBS=-lssl -lcrypto -ldl
|
OPENSSL_LIBS=-lssl -lcrypto #-ldl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_CONTRIB_GNUTLS),1)
|
ifeq ($(USE_CONTRIB_GNUTLS),1)
|
||||||
@ -25,13 +25,13 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CC),clang)
|
ifeq ($(CC),clang)
|
||||||
LDFLAGS += -g -L/usr/local/lib
|
LDFLAGS += -g -L/usr/local/lib
|
||||||
CFLAGS += -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -fPIC -g -O0 -D_REENTRANT -I /usr/local/include -I../
|
CFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -g -O0 -D_REENTRANT -I /usr/local/include -I../
|
||||||
LD = gcc
|
LD = clang
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CC),gcc)
|
ifeq ($(CC),gcc)
|
||||||
LDFLAGS += -g -L/usr/local/lib
|
LDFLAGS += -g -L/usr/local/lib
|
||||||
CFLAGS += -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -fPIC -g -O0 -D_REENTRANT -I /usr/local/include -I../
|
CFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -g -O0 -D_REENTRANT -I /usr/local/include -I../
|
||||||
LD = gcc
|
LD = gcc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user