summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/eglibc/common.mk')
-rw-r--r--toolchain/eglibc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/eglibc/common.mk b/toolchain/eglibc/common.mk
index c34c612402..30de8b129f 100644
--- a/toolchain/eglibc/common.mk
+++ b/toolchain/eglibc/common.mk
@@ -60,6 +60,7 @@ EGLIBC_CONFIGURE:= \
export libc_cv_ssp=no
export ac_cv_header_cpuid_h=yes
+export HOST_CFLAGS := $(HOST_CFLAGS) -idirafter $(CURDIR)/$(PATH_PREFIX)/include
define Host/SetToolchainInfo
$(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk