Revert "package/Makefile.in should grab HOST_DIR headers using -isystem instead of -I."

This reverts commit 6f8162cf8c. This is
causing too many problems that are not easy to solve.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2016-07-30 18:10:18 +02:00
parent 0340ce3cb7
commit 255b6f80d3

View 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)