summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsum/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libsum/Makefile.com')
-rw-r--r--usr/src/lib/libsum/Makefile.com3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/libsum/Makefile.com b/usr/src/lib/libsum/Makefile.com
index 5fdf850a78..9dffd007f4 100644
--- a/usr/src/lib/libsum/Makefile.com
+++ b/usr/src/lib/libsum/Makefile.com
@@ -23,6 +23,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
SHELL=/usr/bin/ksh93
@@ -76,6 +77,8 @@ CFLAGS64 += \
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