Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 428406

Summary: Can't cross-compile dev-cpp/tbb
Product: Gentoo Linux Reporter: Thomas <v10lator>
Component: [OLD] DevelopmentAssignee: Sébastien Fabbro (RETIRED) <bicatali>
Status: RESOLVED FIXED    
Severity: normal CC: hasufell
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixed ebuild
Diff showing the fix

Description Thomas 2012-07-28 08:38:29 UTC
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' \
Comment 1 Julian Ospald 2012-07-28 09:33:43 UTC
please provide a diff not an entire ebuild
Comment 2 Thomas 2012-07-28 09:43:59 UTC
Created attachment 319504 [details, diff]
Diff showing the fix

Sorry, here it is.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-01 16:48:47 UTC
+  01 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> tbb-4.0.297.ebuild:
+  Fixed for cross-compiling, bug #428406, thanks to Thomas
+