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

@@ -2,10 +2,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           safe_finger tcpd tcpdchk tcpdmatch try-from
 
 include         ../Makefile.cmd
 

@@ -27,10 +28,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-return-type
 CERRWARN +=     -_gcc=-Wno-clobbered
 
+# not linted
+SMATCH=off
+
 # Various components must export interfaces, but also contain name-space
 # clashes with system libraries.
 MAPFILE.INT.D=  $(MAPFILE.NGB) mapfile-intf-tcpdchk
 MAPFILE.INT.M=  $(MAPFILE.NGB) mapfile-intf-tcpdmatch
 MAPFILE.INT.F=  $(MAPFILE.NGB) mapfile-intf-tryfrom