summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnsl/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libnsl/Makefile.com')
-rw-r--r--usr/src/lib/libnsl/Makefile.com9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/lib/libnsl/Makefile.com b/usr/src/lib/libnsl/Makefile.com
index 8469102553..809a7edf4a 100644
--- a/usr/src/lib/libnsl/Makefile.com
+++ b/usr/src/lib/libnsl/Makefile.com
@@ -200,6 +200,15 @@ CFLAGS64 += $(XSTRCONST)
CCFLAGS += -_CC=-features=conststrings
CCFLAGS64 += -_CC=-features=conststrings
+CERRWARN += -_gcc=-Wno-char-subscripts
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-char-subscripts
+CERRWARN += -_gcc=-Wno-empty-body
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-clobbered
+
LIBMP = -lmp
lint := LIBMP =
LDLIBS += $(LIBMP) -lmd -lc