Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,31 ****
#
# i86pc/uppc/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2016 Joyent, Inc.
#
# This makefile drives the production of the uppc mach
# kernel module.
#
# i86pc implementation architecture dependent
--- 21,31 ----
#
# i86pc/uppc/Makefile
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the uppc mach
# kernel module.
#
# i86pc implementation architecture dependent
*** 61,70 ****
--- 61,73 ----
#
CERRWARN += -_gcc=-Wno-unused-function
DEBUG_FLGS =
DEBUG_DEFS += $(DEBUG_FLGS)
+ # needs work
+ $(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
#
# Depends on ACPI CA interpreter
#
LDFLAGS += -dy -N misc/acpica