Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428406 - Can't cross-compile dev-cpp/tbb
Summary: Can't cross-compile dev-cpp/tbb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sébastien Fabbro (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-28 08:38 UTC by Thomas
Modified: 2012-08-01 16:48 UTC (History)
1 user (show)

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


Attachments
Fixed ebuild (tbb-4.0.297.ebuild,3.28 KB, text/plain)
2012-07-28 08:38 UTC, Thomas
Details
Diff showing the fix (tbb-4.0.297.ebuild.diff,417 bytes, patch)
2012-07-28 09:43 UTC, Thomas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
+