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

*** 20,31 **** # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # cmd/sgs/gprof/Makefile.com ! # PROG= gprof include $(SRC)/cmd/Makefile.cmd include $(SRC)/cmd/sgs/Makefile.com --- 20,30 ---- # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. PROG= gprof include $(SRC)/cmd/Makefile.cmd include $(SRC)/cmd/sgs/Makefile.com
*** 44,53 **** --- 43,56 ---- CSTD= $(CSTD_GNU99) LDLIBS += $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf LINTSRCS = $(SRCS) LINTFLAGS += -x CERRWARN += -_gcc=-Wno-uninitialized + + # not linted + SMATCH=off + CLEANFILES += $(LINTOUTS) ROOTLIBBLURB= $(BLURBS:%=$(ROOTSHLIBCCS)/%) $(ROOTLIBBLURB) := FILEMODE= 444