Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -19,10 +19,11 @@
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
# This target builds both a command (daemon) and various shared objects. This
# isn't a typical target, and the inclusion of both library and command
# Makefiles were probably not in their original design. However, there doesn't
# presently seem to be a clash of any required definitions.
@@ -97,10 +98,13 @@
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-parentheses
+# not linted
+SMATCH=off
+
# Define the dependencies required by devfsadm and all shared objects.
LDLIBS += -ldevinfo
devfsadm := LDLIBS += -lgen -lsysevent -lnvpair -lzonecfg -lbsm
SUNW_md_link.so := LDLIBS += -lmeta
SUNW_disk_link.so := LDLIBS += -ldevid