Print this page
10079 smatch Makefile changes for usr/src/lib
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016 by Delphix. All rights reserved.
+ # Copyright (c) 2018, Joyent, Inc.
#
LIBRARY = libshare.a
VERS = .1
NFSLIB_DIR = $(SRC)/cmd/fs.d/nfs/lib
*** 45,54 ****
--- 46,59 ----
CFLAGS += $(CCVERBOSE)
CSTD += $(CSTD_GNU99)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
+
+ # not linted
+ SMATCH=off
+
CPPFLAGS += -D_REENTRANT -I$(NFSLIB_DIR) \
-I$(ADJUNCT_PROTO)/usr/include/libxml2
.KEEP_STATE: