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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2015 Gary Mills
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 BINPROG = ypmatch ypwhich ypcat
 SBINPROG = makedbm ypalias ypinit yppoll ypset
 NETYPPROG = ypbind ypxfr yppush udpublickey mkalias \

@@ -151,10 +152,13 @@
 CERRWARN +=     -_gcc=-Wno-extra
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-address
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# too many unknown types
+SMATCH =        off
+
 #conditional assignments
 ypalias.o :=    CPPFLAGS= -DMAIN $(CPPFLAGS.master)
 makedbm.o :=    CPPFLAGS= $(CPPFLAGS.master)
 yp_b_svc.o :=   CPPFLAGS += -DINIT_DEFAULT
 ypxfrd_svc.o := CPPFLAGS += -Dmain=_main