Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 24,42 ****
--- 24,46 ----
# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
# All rights reserved.
#
# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
include $(SRC)/cmd/Makefile.cmd
PROG = static_prof
SRCS = $(PROG:%=../%.c)
CERRWARN += -_gcc=-Wno-unused-value
CERRWARN += -_gcc=-Wno-parentheses
+ # not linted
+ SMATCH=off
+
LDLIBS += -lelf
LINTFLAGS = -nmxsuF -errtags=yes
LINTLIBS += $(LDLIBS)