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

*** 20,30 **** # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright 2015 Nexenta Systems, Inc. All rights reserved. # ! # cmd/fs.d/ufs/quotaon/Makefile FSTYPE= ufs LIBPROG= quotaon QUOTAOFF= quotaoff ATTMK= $(LIBPROG) --- 20,30 ---- # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright 2015 Nexenta Systems, Inc. All rights reserved. # ! # Copyright (c) 2018, Joyent, Inc. FSTYPE= ufs LIBPROG= quotaon QUOTAOFF= quotaoff ATTMK= $(LIBPROG)
*** 41,50 **** --- 41,53 ---- CPPFLAGS += -D_LARGEFILE64_SOURCE CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function + # not linted + SMATCH=off + lint: lint_PROG $(ROOTLIBFSTYPE)/$(QUOTAOFF): $(ROOTLIBFSTYPE)/$(LIBPROG) -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@