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>
@@ -44,10 +44,13 @@
LDLIBS += -lbe -lnvpair -lc
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/python$(PYTHON_VERSION) \
-D_FILE_OFFSET_BITS=64 -I../../libbe/common
+LINTFLAGS += -errhdr=no%$(ADJUNCT_PROTO)/usr/include/python2.6
+LINTFLAGS64 += -errhdr=no%$(ADJUNCT_PROTO)/usr/include/python2.6
+
.KEEP_STATE:
all install := LDLIBS += -lpython$(PYTHON_VERSION)
all: $(PYOBJS) $(LIBS)