Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= zstreamdump
OBJS= zstreamdump.o
SRCS= $(OBJS:%.o=%.c)
POFILE= zstreamdump.po
*** 45,54 ****
--- 46,58 ----
LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
LINTFLAGS64 += -xerroff=E_NAME_DEF_NOT_USED2
CERRWARN += -_gcc=-Wno-switch
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
.PARALLEL:
all: $(PROG)