Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libuutil.a
 VERS =          .1
 
 OBJECTS = \

@@ -71,10 +72,12 @@
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -I$(SRCDIR) -I../../common/inc
 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
 LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
 
+SMOFF += signed
+
 MY_NATIVE_CPPFLAGS = -DNATIVE_BUILD -I$(SRCDIR)
 MY_NATIVE_LDLIBS = -lc
 
 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG