Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSD
headers. All OpenSolaris compatibility comes via the set of specific compatibility headers in src/compat/opensolaris and src/sys/compat/opensolaris.
This commit is contained in:
parent
55fd7467ec
commit
769c37d0ba
@ -1,3 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CFLAGS+= -D_SOLARIS_C_SOURCE
|
||||
OPENSOLARIS_USR_DISTDIR= ${.CURDIR}/../../../contrib/opensolaris
|
||||
OPENSOLARIS_SYS_DISTDIR= ${.CURDIR}/../../../sys/contrib/opensolaris
|
||||
|
||||
IGNORE_PRAGMA= YES
|
||||
|
@ -10,8 +10,8 @@ SRCS= libnvpair.c \
|
||||
nvpair_alloc_fixed.c \
|
||||
nvpair.c
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
||||
CFLAGS+= -I${.CURDIR}/../../../include # XXX
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -76,8 +76,6 @@ CWARNFLAGS+=-Wno-uninitialized
|
||||
CWARNFLAGS+=-Wno-unused
|
||||
CWARNFLAGS+=-Wno-switch
|
||||
|
||||
CFLAGS+=-D_SOLARIS_C_SOURCE
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../compat/opensolaris
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/fs/zfs
|
||||
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/zmod
|
||||
|
@ -6,7 +6,6 @@ SRCS= zfs.c
|
||||
OBJS= zfs.o
|
||||
WARNS?= 1
|
||||
|
||||
CFLAGS=-D_SOLARIS_C_SOURCE
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
||||
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
||||
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
|
||||
|
Loading…
Reference in New Issue
Block a user