10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@ # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. PROG= fiocompress SBINLINKS= $(PROG)
@@ -37,10 +38,12 @@ LDLIBS += -lz CFLAGS += -I../../../uts/common LINTFLAGS += -I../../../uts/common +SMOFF += leaks + all: $(PROG) $(PROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(POST_PROCESS)