瀏覽代碼

do not ignore host include dirs

Waldemar Brodkorb 10 年之前
父節點
當前提交
56e1b7996f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mk/host.mk

+ 2 - 0
mk/host.mk

@@ -9,6 +9,7 @@ endif
 HOST_CONFIGURE_ENV+=	AUTOM4TE=${STAGING_HOST_DIR}/usr/bin/autom4te \
 			CONFIG_SHELL='$(strip ${SHELL})' \
 			PKG_CONFIG_LIBDIR='${STAGING_HOST_DIR}/usr/lib/pkgconfig' \
+			PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
 			PATH='${HOST_PATH}' \
 			CC='$(strip ${CC_FOR_BUILD})' \
 			CFLAGS='$(strip ${CFLAGS_FOR_BUILD})' \
@@ -29,6 +30,7 @@ HOST_INSTALL_TARGET?=	install
 
 HOST_MAKE_ENV+=		PATH='${HOST_PATH}' \
 			PKG_CONFIG_LIBDIR='${STAGING_HOST_DIR}/usr/lib/pkgconfig' \
+			PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
 			CC='$(strip ${CC_FOR_BUILD})' \
 			CFLAGS='$(strip ${CFLAGS_FOR_BUILD})' \
 			CXXFLAGS='$(strip ${CXXFLAGS_FOR_BUILD})' \