Created attachment 319500 [details] Fixed ebuild As -amd64 is hardcoded you can't cross-compile for i386. This is fixable with just one line added to the ebuild: -e 's/-m64/ /g' \
please provide a diff not an entire ebuild
Created attachment 319504 [details, diff] Diff showing the fix Sorry, here it is.
+ 01 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> tbb-4.0.297.ebuild: + Fixed for cross-compiling, bug #428406, thanks to Thomas +