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
43e23d1b4c
commit
ee8a5fa77d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174059
@ -1,3 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $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_alloc_fixed.c \
|
||||||
nvpair.c
|
nvpair.c
|
||||||
|
|
||||||
|
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
||||||
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
||||||
CFLAGS+= -I${.CURDIR}/../../../include # XXX
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
|
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
@ -76,8 +76,6 @@ CWARNFLAGS+=-Wno-uninitialized
|
|||||||
CWARNFLAGS+=-Wno-unused
|
CWARNFLAGS+=-Wno-unused
|
||||||
CWARNFLAGS+=-Wno-switch
|
CWARNFLAGS+=-Wno-switch
|
||||||
|
|
||||||
CFLAGS+=-D_SOLARIS_C_SOURCE
|
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR}/../../compat/opensolaris
|
CFLAGS+=-I${.CURDIR}/../../compat/opensolaris
|
||||||
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/fs/zfs
|
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/fs/zfs
|
||||||
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/zmod
|
CFLAGS+=-I${.CURDIR}/../../contrib/opensolaris/uts/common/zmod
|
||||||
|
@ -6,7 +6,6 @@ SRCS= zfs.c
|
|||||||
OBJS= zfs.o
|
OBJS= zfs.o
|
||||||
WARNS?= 1
|
WARNS?= 1
|
||||||
|
|
||||||
CFLAGS=-D_SOLARIS_C_SOURCE
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
|
||||||
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
|
||||||
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
|
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
|
||||||
|
Loading…
Reference in New Issue
Block a user