Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # cmd/cmd-inet/usr.bin/rdist/Makefile
PROG= rdist
OBJS= docmd.o expand.o lookup.o main.o server.o
KCMDOBJS= kcmd.o
YOBJS= gram.o
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= rdist
OBJS= docmd.o expand.o lookup.o main.o server.o
KCMDOBJS= kcmd.o
YOBJS= gram.o
*** 53,62 ****
--- 53,65 ----
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
ROOTSYMLINK= $(ROOT)/usr/ucb/$(PROG)
# conditional assignments
$(ROOTPROG) := FILEMODE= 04555