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

@@ -18,11 +18,11 @@
 #
 # CDDL HEADER END
 #
 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2015, Nexenta Systems, Inc.
-# 
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= installgrub
 
 PCFS_SRC= $(SRC)/common/fs/pcfs.c
 EINFO_SRC= ./../common/bblk_einfo.c

@@ -38,10 +38,13 @@
 include ../Makefile.com
 
 CPPFLAGS += -I$(SRC)/uts/i86pc -I$(SRC)/uts/intel -I$(SRC)/uts/common
 CPPFLAGS += -I$(SRC)/common/util
 
+# not linted
+SMATCH=off
+
 LDLIBS += -lmd5
 
 i386_CFLAGS += -D_LARGEFILE64_SOURCE
 i386_CFLAGS += -D_FILE_OFFSET_BITS=64