icu: fix cross build.

This commit is contained in:
Christian Neukirchen 2015-04-05 01:10:03 +02:00
parent 13c04df41d
commit 9e6cb6cf82
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=cc LD=ld CXX=g++ AR=ar RANLIB=ranlib \
AS=as STRIP=strip CFLAGS="-Os" CXXFLAGS="-Os" \
@ -31,6 +32,7 @@ pre_configure() {
make DESTDIR=${wrksrc}/host-icu install
mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin
make distclean
)
fi
# libicudata must be linked to libc, otherwise it's soft-float on ARM.