Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -21,10 +21,11 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
SHELL=/usr/bin/ksh93
LIBRARY= libsum.a
VERS= .1
@@ -74,10 +75,12 @@
CFLAGS64 += \
$(ASTCFLAGS64)
CERRWARN += -_gcc=-Wno-parentheses
+SMOFF += all_func_returns
+
# This codepath is performance-critical
sparc_COPTFLAG=-xO5 -_cc=-xprefetch=auto,explicit
sparcv9_COPTFLAG=-xO5 -_cc=-xprefetch=auto,explicit
i386_COPTFLAG=-_cc=-xO5 -_cc=-xprefetch=auto,explicit
amd64_COPTFLAG=-_cc=-xO5 -_cc=-xprefetch=auto,explicit