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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= savecore
 SRCS= ../savecore.c ../../../uts/common/os/compress.c
 OBJS= savecore.o compress.o
 

@@ -32,10 +33,13 @@
 
 CFLAGS += $(CCVERBOSE)
 CFLAGS64 += $(CCVERBOSE)
 CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -DBZ_NO_STDIO -I$(SRC)/uts/common
 
+# not linted
+SMATCH=off
+
 #
 # savecore is compiled with bits from $(SRC)/common/bzip2 and some function
 # symbols there are defined as weak; if you leave them out of
 # savecore.c it will compile, but trying to call that function
 # will jump to 0.  So we use -ztext to avoid that.