Bug 132485 - net-wireless/bcm43xx-fwcutter fails on cross-compilation
Bug#: 132485 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: josejx@gentoo.org Reported By: zamorate@gentoo-es.org
Component: Ebuilds
URL: 
Summary: net-wireless/bcm43xx-fwcutter fails on cross-compilation
Keywords:  
Status Whiteboard: 
Opened: 2006-05-06 12:09 0000
Description:   Opened: 2006-05-06 12:09 0000
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 From Josu López Fernández 2006-05-06 12:10:01 0000 -------
Created an attachment (id=86300) [details]
bcm43xx-fwcutter-004.ebuild.patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-05-06 16:16:46 0000 -------
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.