summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/src/cmd/smbsrv/smbd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/smbsrv/smbd/Makefile b/usr/src/cmd/smbsrv/smbd/Makefile
index c744f73ec6..a33dac8294 100644
--- a/usr/src/cmd/smbsrv/smbd/Makefile
+++ b/usr/src/cmd/smbsrv/smbd/Makefile
@@ -21,6 +21,7 @@
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
@@ -69,6 +70,9 @@ $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
# Should not have to do this, but the Kerberos includes are a mess.
CPPFLAGS += -I $(ROOT)/usr/include/kerberosv5
+# needs work
+SMOFF += all_func_returns,deref_check
+
CSTD = $(CSTD_GNU99)
C99LMODE = -Xc99=%all