icu-49: set -nostdlib for libicudata.so unconditionally (fixes native build on ARM).

This commit is contained in:
Christian Neukirchen 2015-04-05 00:50:25 +02:00
parent 5f1ee90b50
commit 13c04df41d

View file

@ -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() {