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:
parent
9f4b8dc11b
commit
dbafdf6692
1 changed files with 1 additions and 1 deletions
2
external/bsd/libarchive/Makefile.inc
vendored
2
external/bsd/libarchive/Makefile.inc
vendored
|
@ -7,7 +7,7 @@ USE_FORT?= yes # complex string handling
|
||||||
LIBARCHIVEDIR= ${NETBSDSRCDIR}/external/bsd/libarchive/dist
|
LIBARCHIVEDIR= ${NETBSDSRCDIR}/external/bsd/libarchive/dist
|
||||||
|
|
||||||
.if defined(__MINIX)
|
.if defined(__MINIX)
|
||||||
CPPFLAGS+= -I${DESTDIR}/usr/include
|
CPPFLAGS+= -isystem ${DESTDIR}/usr/include
|
||||||
.endif
|
.endif
|
||||||
CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/libarchive/include
|
CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/libarchive/include
|
||||||
CPPFLAGS+= -DPLATFORM_CONFIG_H=\"config_netbsd.h\"
|
CPPFLAGS+= -DPLATFORM_CONFIG_H=\"config_netbsd.h\"
|
||||||
|
|
Loading…
Reference in a new issue