]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Use -isystem instead of -I
authorGuillem Jover <guillem@hadrons.org>
Tue, 5 Jul 2011 19:01:57 +0000 (21:01 +0200)
committerGuillem Jover <guillem@hadrons.org>
Sat, 9 Jul 2011 20:28:10 +0000 (22:28 +0200)
Makefile

index 936d703350111413f190a8ed2cd6861cab39e36f..aa3acb51ecc6110806d27da9e6d0db1a3923cd4f 100644 (file)
--- 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 :=