Merge pull request #3993 from nxhack/specify_crosscompile_vars

icu: specify cross compile variables
This commit is contained in:
Hannu Nyman 2017-02-13 09:39:33 +02:00 committed by GitHub
commit 6711dabacf

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=icu4c PKG_NAME:=icu4c
PKG_VERSION:=58.2 PKG_VERSION:=58.2
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-58_2-src.tgz PKG_SOURCE:=$(PKG_NAME)-58_2-src.tgz
PKG_SOURCE_URL:=http://download.icu-project.org/files/$(PKG_NAME)/$(PKG_VERSION) PKG_SOURCE_URL:=http://download.icu-project.org/files/$(PKG_NAME)/$(PKG_VERSION)
@ -41,9 +41,13 @@ define Package/icu
endef endef
CONFIGURE_CMD:= ./runConfigureICU CONFIGURE_CMD:= ./runConfigureICU
CONFIGURE_VARS:=
CONFIGURE_ARGS:= \ CONFIGURE_ARGS:= \
Linux/gcc \ Linux/gcc \
CC="$(TARGET_CC)" \
CXX="$(TARGET_CXX)" \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--disable-debug \ --disable-debug \
--enable-release \ --enable-release \
--enable-shared \ --enable-shared \
@ -60,9 +64,10 @@ CONFIGURE_ARGS:= \
--prefix=/usr --prefix=/usr
HOST_CONFIGURE_CMD:= ./runConfigureICU HOST_CONFIGURE_CMD:= ./runConfigureICU
HOST_CONFIGURE_VARS:=
HOST_CONFIGURE_ARGS:= \ HOST_CONFIGURE_ARGS:= \
Linux/gcc \ Linux/gcc \
CC="$(HOSTCC)" \
CXX="$(HOSTCXX)" \
--disable-debug \ --disable-debug \
--enable-release \ --enable-release \
--enable-shared \ --enable-shared \