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>

@@ -41,17 +41,18 @@
 all install     := LDLIBS += -lglib-2.0
 
 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
 LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
+LINTFLAGS += -errhdr=no%$(ADJUNCT_PROTO)/usr/include/glib-2.0
 LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
 LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
 LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
+LINTFLAGS64 += -errhdr=no%$(ADJUNCT_PROTO)/usr/include/glib-2.0
 
 FILEMODE = 0555
 
-ELFWRAP = elfwrap
 WRAPOBJ = latencytop_wrap.o
 
 CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
 
 .KEEP_STATE: