Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -19,12 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-# usr/src/cmd/cmd-inet/lib/nwamd/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 # Needed for ROOTFS_LIBDIR definition
 include         ../../../../lib/Makefile.lib
 
 PROG=           nwamd

@@ -58,10 +57,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-unused-label
 
+# not linted
+SMATCH=off
+
 #
 # Instrument with CTF data to ease debugging.
 #
 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)