icu-49: fix cross build.
This commit is contained in:
parent
9e6cb6cf82
commit
5a11b82bad
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user