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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright 2012 Joyent, Inc. All Rights Reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG= wall
 
 include ../Makefile.cmd

@@ -32,10 +32,12 @@
 
 LDLIBS += -lzonecfg -lcontract
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 
+SMOFF += leaks
+
 .KEEP_STATE:
 
 all: $(PROG) 
 
 install: all $(ROOTUSRSBINPROG)