Summary: | dev-libs/icu needs to be compiled twice if cross compiled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Krude <johannes> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mipsel-unknown-linux-gnu --info
emerge output for icu working ebuild icu ebuild cross compile patch |
Description
Johannes Krude
2010-07-24 18:54:15 UTC
Created attachment 240029 [details]
mipsel-unknown-linux-gnu --info
Created attachment 240031 [details]
emerge output for icu
Created attachment 240033 [details]
working ebuild
Comment on attachment 240033 [details]
working ebuild
Attach patches for ebuilds, not whole ebuilds.
Created attachment 240123 [details, diff]
icu ebuild cross compile patch
This is the same patch as already written in the first comment.
src_configure() { if tc-is-cross-compiler; then CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \ CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) AR=$(tc-getBUILD_AR) \ RANLIB=$(tc-getBUILD_RANLIB) LD=$(tc-getBUILD_LD) \ ./configure --disable-debug --disable-samples --enable-static || die emake mkdir host cp -a {bin,lib,config} host emake clean extra_params="--with-cross-build=${S}/host" fi econf \ $(use_enable debug) \ $(use_enable examples samples) \ $(use_enable static-libs static) \ ${extra_params} } I commited patch that should handle the cross compilation to icu-50_rc-r2. Could you please test it and reopen/open new bug if it is still causing issues? |