Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 19,30 ****
# CDDL HEADER END
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # This makefile drives the production of the stmf driver for
! # COMSTAR.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 56,65 ****
--- 55,67 ----
# Overrides and depends_on
#
MODSTUBS_DIR = $(OBJS_DIR)
CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
+ # needs work
+ SMATCH=off
+
C99LMODE= -Xc99=%all
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.