]> Zhao Yanbai Git Server - minix.git/commitdiff
libarchive: use -isystem for /usr/include 97/797/2
authorBen Gras <ben@minix3.org>
Fri, 30 Aug 2013 13:44:47 +0000 (13:44 +0000)
committerGerrit Code Review <gerrit@gerrit>
Fri, 30 Aug 2013 15:21:01 +0000 (17:21 +0200)
. 'fixes' warnings that are in these headers, but normally aren't
   emited as they're system headers

Change-Id: Ibd20343eae51770cef71116bbda0d9141441ec54

external/bsd/libarchive/Makefile.inc

index 4fcf7db2ed0446be0ed335bff75702136b7e7acb..12dc916061c337828806e74397b7f273af288e83 100644 (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\"