Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= prctl
OBJS= prctl.o utils.o
*** 34,43 ****
--- 35,47 ----
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
LDLIBS += -lproc -lproject
# Adding this flag to LINTFLAGS did not do anything. I'm adding this flag
# because there are some lint errors due to private functions in libproject.
# I do not want to add these functions to /usr/lib/llib-project because we