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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= init 
 ROOTFS_PROG= $(PROG)
 
 DEFAULTFILES= init.dfl

@@ -36,10 +37,13 @@
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
 CLOBBERFILES= $(STATIC)
 
+# needs work
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(ROOTFS_PROG)
 
 install: all $(ROOTETCDEFAULTFILES) $(ROOTSBINPROG)