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

@@ -28,10 +28,11 @@
 # Copyright 1990-2003 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright (c) 2016 by Delphix. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         nfs
 TYPEPROG=       statd
 ATTMK=          $(TYPEPROG)
 

@@ -41,10 +42,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 LOCAL=          sm_svc.o sm_proc.o sm_statd.o
 OBJS=           $(LOCAL) selfcheck.o daemon.o smfcfg.o
 
 SRCS=           $(LOCAL:%.o=%.c) ../lib/selfcheck.c ../lib/daemon.c \
                 ../lib/smfcfg.c