Raise the WARNS level in cddl/lib
cddl/lib/libavl/Makefile cddl/lib/libctf/Makefile cddl/lib/libnvpair/Makefile cddl/lib/libumem/Makefile cddl/lib/libuutil/Makefile Increase WARNS to the highest working level for each of these libraries Approved by: re (gjb, hrs) MFC after: 4 weeks Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
361279a4fb
commit
58406fff52
@ -4,7 +4,7 @@
|
||||
|
||||
LIB= avl
|
||||
SRCS= avl.c
|
||||
WARNS?= 0
|
||||
WARNS?= 3
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
|
||||
|
||||
|
@ -18,7 +18,7 @@ SRCS= ctf_create.c \
|
||||
ctf_util.c
|
||||
MAN= ctf.5
|
||||
|
||||
WARNS?= 0
|
||||
WARNS?= 2
|
||||
CFLAGS+= -DCTF_OLD_VERSIONS
|
||||
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
|
||||
|
@ -12,7 +12,7 @@ SRCS= libnvpair.c \
|
||||
opensolaris_nvpair.c \
|
||||
opensolaris_nvpair_alloc_fixed.c
|
||||
|
||||
WARNS?= 0
|
||||
WARNS?= 1
|
||||
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
|
||||
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
LIB= umem
|
||||
SRCS= umem.c
|
||||
WARNS?= 0
|
||||
WARNS?= 3
|
||||
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -15,7 +15,7 @@ SRCS= avl.c \
|
||||
uu_pname.c \
|
||||
uu_strtoint.c
|
||||
|
||||
WARNS?= 0
|
||||
WARNS?= 1
|
||||
CFLAGS+= -DNATIVE_BUILD
|
||||
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
|
||||
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
|
||||
|
Loading…
Reference in New Issue
Block a user