Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# cmd/backup/Makefile.backup
#
+ # Copyright (c) 2018, Joyent, Inc.
include $(SRC)/cmd/Makefile.cmd
# xxx should pass -Nlevel=4 (takes 62 minutes of cpu for lib and dump)
LINTFLAGS= -errchk=%all,longptr64 -errhdr=%user -F -m \
*** 42,51 ****
--- 43,55 ----
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-clobbered
+ # not linted
+ SMATCH=off
+
UFSROOTETC= $(ROOT)/etc
UFSROOTUSR= $(ROOT)/usr
UFSROOTUSRLIB= $(UFSROOTUSR)/lib
UFSROOTUSRLIBFS= $(UFSROOTUSRLIB)/fs
UFSROOTUSRLIBFSTYPE= $(UFSROOTUSRLIBFS)/$(FSTYPE)