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.
 
 include $(SRC)/cmd/Makefile.cmd
 
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -I$(SRC)/cmd/svr4pkg/hdrs \

@@ -36,10 +37,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-address
 
+# multiple issues in this old code
+SMATCH=off
+
 LIBINST =       $(SRC)/cmd/svr4pkg/libinst/libinst.a
 
 SRCS=           $(OBJS:.o=.c)