libarchive: use -isystem for /usr/include

. 'fixes' warnings that are in these headers, but normally aren't
	   emited as they're system headers

Change-Id: Ibd20343eae51770cef71116bbda0d9141441ec54
This commit is contained in:
Ben Gras 2013-08-30 13:44:47 +00:00 committed by Gerrit Code Review
parent 9f4b8dc11b
commit dbafdf6692

View file

@ -7,7 +7,7 @@ USE_FORT?= yes # complex string handling
LIBARCHIVEDIR= ${NETBSDSRCDIR}/external/bsd/libarchive/dist
.if defined(__MINIX)
CPPFLAGS+= -I${DESTDIR}/usr/include
CPPFLAGS+= -isystem ${DESTDIR}/usr/include
.endif
CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/libarchive/include
CPPFLAGS+= -DPLATFORM_CONFIG_H=\"config_netbsd.h\"