summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshare/autofs/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libshare/autofs/Makefile.com')
-rw-r--r--usr/src/lib/libshare/autofs/Makefile.com6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/libshare/autofs/Makefile.com b/usr/src/lib/libshare/autofs/Makefile.com
index 65fc6fc379..0538ec55fa 100644
--- a/usr/src/lib/libshare/autofs/Makefile.com
+++ b/usr/src/lib/libshare/autofs/Makefile.com
@@ -47,7 +47,11 @@ LDLIBS += -lshare -lscf -lumem -lc -lxml2
#add nfs/lib directory as part of the include path
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(AUTOFSSMFLIB_DIR) \
- -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
+ -I$(ADJUNCT_PROTO)/usr/include/libxml2
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-uninitialized
+CPPFLAGS += -D_REENTRANT -I$(AUTOFSSMFLIB_DIR) -I/usr/include/libxml2 \
-I$(SRCDIR)../common
.KEEP_STATE: