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

*** 20,30 **** # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # PROG= dlstat ROOTFS_PROG= $(PROG) --- 20,30 ---- # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright (c) 2018, Joyent, Inc. PROG= dlstat ROOTFS_PROG= $(PROG)
*** 33,42 **** --- 33,45 ---- CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-uninitialized + # not linted + SMATCH=off + XGETFLAGS += -a -x $(PROG).xcl LDLIBS += -L$(ROOT)/lib LDLIBS += -ldladm -lofmt .KEEP_STATE: