From 5a11b82bad60647a079a6b7abceae99394a64583 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 5 Apr 2015 01:11:32 +0200 Subject: [PATCH] icu-49: fix cross build. --- srcpkgs/icu-49/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/icu-49/template b/srcpkgs/icu-49/template index f62df956023..7ab9dd71c2f 100644 --- a/srcpkgs/icu-49/template +++ b/srcpkgs/icu-49/template @@ -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.