icu-49: fix cross build.

This commit is contained in:
Christian Neukirchen 2015-04-05 01:11:32 +02:00
parent 9e6cb6cf82
commit 5a11b82bad
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ pre_configure() {
if [ "$CROSS_BUILD" ]; then
# Configure and build for host.
mkdir host-build
(
cd host-build
env CC=gcc LD=ld CXX=g++ AR=ar RANLIB=ranlib \
AS=as STRIP=strip CFLAGS="-Os" CXXFLAGS="-Os" \
@ -30,6 +31,7 @@ pre_configure() {
cp config/icucross.mk ${wrksrc}/host-icu/config
make DESTDIR=${wrksrc}/host-icu install
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
)
fi
# libicudata must be linked to libc, otherwise it's soft-float on ARM.