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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #       Makefile for fdisk
 
 PROG= fdisk
 ROOTFS_PROG= $(PROG)

@@ -32,10 +32,13 @@
 
 include ../Makefile.cmd
 
 CPPFLAGS += -D_FILE_OFFSET_BITS=64
 
+# not linted
+SMATCH=off
+
 LDLIBS_i386= -lfdisk
 LDLIBS_sparc=
 LDLIBS += -ladm -lefi $(LDLIBS_$(MACH))
 
 i386_CFLAGS += -D_LARGEFILE64_SOURCE