summaryrefslogtreecommitdiff
path: root/usr/src/cmd/devfsadm/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/devfsadm/Makefile.com')
-rw-r--r--usr/src/cmd/devfsadm/Makefile.com3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/devfsadm/Makefile.com b/usr/src/cmd/devfsadm/Makefile.com
index 1585db2894..95591b2a95 100644
--- a/usr/src/cmd/devfsadm/Makefile.com
+++ b/usr/src/cmd/devfsadm/Makefile.com
@@ -20,6 +20,7 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright 2018 Joyent, Inc.
#
# This target builds both a command (daemon) and various shared objects. This
@@ -95,6 +96,8 @@ LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
+C99LMODE= -Xc99=%all
+
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-parentheses