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.