summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/common.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-31 00:24:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-31 00:24:00 +0000
commit7efe435f49098d2f476c4e807b22f8aecd7514ac (patch)
treeb6e624e99eed009d4519507bbc594b2649839a8e /toolchain/eglibc/common.mk
parent54f799dd58f916efa8749bb1936ece72d936fd1b (diff)
downloadmtk-20170518-7efe435f49098d2f476c4e807b22f8aecd7514ac.zip
mtk-20170518-7efe435f49098d2f476c4e807b22f8aecd7514ac.tar.gz
mtk-20170518-7efe435f49098d2f476c4e807b22f8aecd7514ac.tar.bz2
eglibc: add a fake libintl.h for cross-rpcgen and cross-zic to fix build on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 34026
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 c34c612..30de8b1 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