Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132485 - net-wireless/bcm43xx-fwcutter fails on cross-compilation
Summary: net-wireless/bcm43xx-fwcutter fails on cross-compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Jezak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 12:09 UTC by Josu López Fernández
Modified: 2006-05-06 16:16 UTC (History)
2 users (show)

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


Attachments
bcm43xx-fwcutter-004.ebuild.patch (bcm43xx-fwcutter-004.ebuild.patch,825 bytes, patch)
2006-05-06 12:10 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-06 12:09:40 UTC
Hi!
net-wireless/bcm43xx-fwcutter doesn't compile on cross-compilation between two
different arches, because the compiler is simply 'gcc', and not '${CHOST}-gcc'. To fix it, is only needed to change CC variable on the Makefile, with a simple 'sed'.
With the attached patch works to me well between i686, ppc and amd64.

Good bye!
Comment 1 Josu López Fernández 2006-05-06 12:10:01 UTC
Created attachment 86300 [details, diff]
bcm43xx-fwcutter-004.ebuild.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-06 16:16:46 UTC
I'm going to fix in another way (by changing CC on emake line), simpler and more elegant ;)

I've just hit the issue while distcc'ing from my PPC.