From 13c04df41dfad240667a2d76de218507b353c15a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 5 Apr 2015 00:50:25 +0200 Subject: [PATCH] icu-49: set -nostdlib for libicudata.so unconditionally (fixes native build on ARM). --- srcpkgs/icu-49/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/icu-49/template b/srcpkgs/icu-49/template index 8cee3a74c2..f62df95602 100644 --- a/srcpkgs/icu-49/template +++ b/srcpkgs/icu-49/template @@ -1,7 +1,7 @@ # Template build file for 'icu-49'. pkgname=icu-49 version=49.1.2 -revision=1 +revision=2 wrksrc=icu build_wrksrc=source build_style=gnu-configure @@ -30,10 +30,12 @@ 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 - # libicudata must be linked to libc, otherwise it's soft-float. - # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457 - sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux fi + + # libicudata must be linked to libc, otherwise it's soft-float on ARM. + # probably other stuff breaks too, so let's just do it. + # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457 + sed -e 's,-nostdlib,,g' -i ${wrksrc}/source/config/mh-linux } post_install() {