From 5f1ee90b503ec62226c13bd7c98918616d64678c Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 5 Apr 2015 00:50:16 +0200 Subject: [PATCH] icu: set -nostdlib for libicudata.so unconditionally (fixes native build on ARM). --- srcpkgs/icu/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/icu/template b/srcpkgs/icu/template index 478589e3fcc..8dedd3615ba 100644 --- a/srcpkgs/icu/template +++ b/srcpkgs/icu/template @@ -1,7 +1,7 @@ # Template build file for 'icu'. pkgname=icu version=54.1 -revision=1 +revision=2 wrksrc=icu build_wrksrc=source build_style=gnu-configure @@ -31,10 +31,12 @@ pre_configure() { make DESTDIR=${wrksrc}/host-icu install mv ${wrksrc}/host-icu/sbin/* ${wrksrc}/host-icu/bin make distclean - # 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() {