Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2009, 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 = ../..
*** 53,63 ****
#
# Overrides
#
LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
! #COPTIMIZE = -xO4
INC_PATH += -I$(UTSBASE)/common/io/myri10ge -I$(UTSBASE)/common/io/myri10ge/firmware
CFLAGS += -DSOLARIS_S11
--- 54,65 ----
#
# Overrides
#
LINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
! # needs work
! SMATCH=off
INC_PATH += -I$(UTSBASE)/common/io/myri10ge -I$(UTSBASE)/common/io/myri10ge/firmware
CFLAGS += -DSOLARIS_S11