]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Revert "package/Makefile.in should grab HOST_DIR headers using -isystem instead of...
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 30 Jul 2016 16:10:18 +0000 (18:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 30 Jul 2016 16:10:18 +0000 (18:10 +0200)
This reverts commit 6f8162cf8c1abef7e0a4771fe0d6b26a28f5c2b6. This is
causing too many problems that are not easy to solve.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in

index b0ef70676a99d4c68ce9ed844a4bc9459e697e4a..afd5d3a59b9cad5300e1f23aa9fe92bf2591b6aa 100644 (file)
@@ -222,7 +222,7 @@ UNZIP := $(shell which unzip || type -p unzip) -q
 
 APPLY_PATCHES = support/scripts/apply-patches.sh $(if $(QUIET),-s)
 
-HOST_CPPFLAGS  = -isystem $(HOST_DIR)/usr/include
+HOST_CPPFLAGS  = -I$(HOST_DIR)/usr/include
 HOST_CFLAGS   ?= -O2
 HOST_CFLAGS   += $(HOST_CPPFLAGS)
 HOST_CXXFLAGS += $(HOST_CFLAGS)