Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
RTLD= ld.so.1
AVLOBJ= avl.o
DTROBJ= dtrace_data.o
@@ -87,10 +88,13 @@
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-switch
+# not linted
+SMATCH=off
+
# These definitions require that libc be built in the same workspace
# as the run-time linker and before the run-time linker is built.
# This is required for the system's self-consistency in any case.
CPICLIB = $(VAR_RTLD_CPICLIB)
CPICLIB64 = $(VAR_RTLD_CPICLIB64)