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

@@ -22,11 +22,11 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 XLATEDIR = $(SRC)/lib/libbsm/common
 
 PROG = praudit
 SRCS = format.c main.c token.c toktable.c printaudit.c prio.c $(XLATEDIR)/adt_xlate.c

@@ -43,10 +43,12 @@
 CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 
+SMOFF += signed
+
 LDLIBS += -lbsm -lnsl -lpam -ltsol
 
 .KEEP_STATE:
 
 all: $(PROG)