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

@@ -22,10 +22,11 @@
 #
 # Copyright (c) 2017 Peter Tribble.
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= libinst.a
 
 OBJS=   copyf.o         dockdeps.o      echo.o          eptstat.o       \
         finalck.o       findscripts.o   fixpath.o       flex_dev.o      \

@@ -66,10 +67,13 @@
 CERRWARN += -_gcc=-Wno-implicit-function-declaration
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-clobbered
 CERRWARN += -_gcc=-Wno-unused-variable
 
+# too many issues
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 $(PROG): $(OBJS)