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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright (c) 1999,2001 by Sun Microsystems, Inc.
 # All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         udfs
 LIBPROG=        mkfs
 ATTMK=          $(LIBPROG)
 

@@ -46,10 +47,13 @@
 UDFSOBJS=
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 OBJS=           $(MKFSOBJS) $(UDFSOBJS)
 SRCS=           $(OBJS:%.o=%.c)
 
 $(LIBPROG):     $(OBJS)
                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)