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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           nm
 
 ARFORMAT=       PORTAR
 

@@ -41,10 +42,12 @@
                 -I$(SRCBASE)/uts/$(ARCH)/sys
 CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+SMOFF += precedence,indenting
+
 LDLIBS +=       $(CONVLIBDIR64) $(CONV_LIB) $(ELFLIBDIR) -lelf
 LINTFLAGS64 +=  -x $(LDLIBS) -m64
 LINTSRCS=       $(SRCS)
 CLEANFILES +=   $(LINTOUTS)