Commit 0acd86f6eb1637b54911428d067e15c9a414c883

Guillem Jover 2011-07-05T21:01:57

build: Use -isystem instead of -I

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index 936d703..aa3acb5 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ CFLAGS ?= -g -Wall -Wextra -Wno-unused-variable
 LDFLAGS ?=
 
 # Internal makefile variables
-MK_CPPFLAGS := -Iinclude/bsd/ \
+MK_CPPFLAGS := -isystem include/bsd/ \
 	-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
 	-D_GNU_SOURCE -D__REENTRANT
 MK_CFLAGS :=