From: Ben Gras Date: Fri, 30 Aug 2013 13:44:47 +0000 (+0000) Subject: libarchive: use -isystem for /usr/include X-Git-Tag: v3.3.0~809 X-Git-Url: http://zhaoyanbai.com/repos/COPYRIGHT?a=commitdiff_plain;h=dbafdf6692e021cb700f9c03b503f7f2fe0d0c6a;p=minix.git 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 --- diff --git a/external/bsd/libarchive/Makefile.inc b/external/bsd/libarchive/Makefile.inc index 4fcf7db2e..12dc91606 100644 --- a/external/bsd/libarchive/Makefile.inc +++ b/external/bsd/libarchive/Makefile.inc @@ -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\"