Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134105 - net-fs/nfs-utils fails on cross-compilation
Summary: net-fs/nfs-utils fails on cross-compilation
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 06:25 UTC by Josu López Fernández
Modified: 2006-06-10 12:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
nfs-utils-1.0.7-r2.ebuild.patch (nfs-utils-1.0.7-r2.ebuild.patch,630 bytes, patch)
2006-05-23 06:25 UTC, Josu López Fernández
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josu López Fernández 2006-05-23 06:25:07 UTC
Hi!
net-fs/nfs-utils doesn't compile on cross-compilation between two different
arches, because the compiler is simply 'gcc', and not '${CHOST}-gc'. To fix
it, is only needed to export CC in src_compile, with tc-export CC.
With the attached patch works to me well between i686, ppc and amd64.

Good bye!
Comment 1 Josu López Fernández 2006-05-23 06:25:32 UTC
Created attachment 87323 [details, diff]
nfs-utils-1.0.7-r2.ebuild.patch
Comment 2 SpanKY gentoo-dev 2006-06-10 12:13:51 UTC
use 1.0.8