Print this page
NEX-5204 silence lint and studio warnings that only occur with an adjunct proto
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

@@ -27,10 +27,11 @@
 include $(SRC)/lib/policykit/Makefile.policykit
 
 CPPFLAGS =      $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
+CERRWARN +=     -_cc=-errhdr=no%$(ADJUNCT_PROTO)/usr/include/glib-2.0
 
 CSTD =  $(CSTD_GNU99)
 
 ROOTLIBPCDIR =  $(ROOT)/usr/lib/pkgconfig
 ROOTLIBPC =     $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)