summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpkg/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libpkg/Makefile.com')
-rw-r--r--usr/src/lib/libpkg/Makefile.com6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/lib/libpkg/Makefile.com b/usr/src/lib/libpkg/Makefile.com
index 054752764f..8f56a61423 100644
--- a/usr/src/lib/libpkg/Makefile.com
+++ b/usr/src/lib/libpkg/Makefile.com
@@ -67,6 +67,12 @@ LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -lssl -lwanboot -lcrypto -lscf -ladm
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-clobbered
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-unused-value
CPPFLAGS += -I$(SRCDIR) -D_FILE_OFFSET_BITS=64
.KEEP_STATE: