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

@@ -18,10 +18,11 @@
 #
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG=           ar
 XPG4PROG=       ar
 

@@ -40,10 +41,13 @@
 CPPFLAGS=       -I. -I../../include $(CPPFLAGS.master) -I$(ELFCAP)
 CFLAGS +=       $(CCVERBOSE)
 CSTD=   $(CSTD_GNU99)
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
+
+SMOFF += signed
+
 LDLIBS +=       -lelf $(CONVLIBDIR) $(CONV_LIB) -lsendfile
 LINTFLAGS=      -x
 LINTFLAGS64=    -x
 
 $(XPG4) :=      CPPFLAGS += -DXPG4