From dbafdf6692e021cb700f9c03b503f7f2fe0d0c6a Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 30 Aug 2013 13:44:47 +0000 Subject: [PATCH] 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 --- external/bsd/libarchive/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\" -- 2.44.0