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

@@ -21,10 +21,11 @@
 #
 # Copyright 2015 Gary Mills
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           yacc
 
 COMOBJS=        y1.o y2.o y3.o y4.o
 POBJECTS=       $(COMOBJS)

@@ -72,10 +73,13 @@
 CFLAGS += $(CCVERBOSE)
 CFLAGS64 += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 $(ROOTPROG):= FILEMODE = 0555
 
 ROOTYACCPAR=    $(YACCPAR:%=$(ROOTSHLIBCCS)/%)
 
 ROOTLINTDIR=    $(ROOTLIBDIR)