mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
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
4 changed files with 5 additions and 5 deletions
|
|
@ -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 a new issue