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