Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157784 - sys-fs/mtd: patch to honour the CC for cross build
Summary: sys-fs/mtd: patch to honour the CC for cross build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-10 17:57 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-12-12 13:25 UTC (History)
1 user (show)

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


Attachments
Ebuild patch (mtd-ebuild.patch,1.28 KB, patch)
2006-12-10 17:57 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 17:57:23 UTC
The attached patch to the ebuild makes sure that the build will happen with the correct compiler for the architecture we're building for (in case of crosscompile); it also quotes all the variables that needs to be quoted and add an || die at einstall to be on the safe side.

Note that it still has something wrong, as it rebuilds some of the targets during install phase (that's why I'm not rewriting CC on make line).

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-10 17:57:52 UTC
Created attachment 103772 [details, diff]
Ebuild patch
Comment 2 solar (RETIRED) gentoo-dev 2006-12-12 11:10:57 UTC
robbat2 took over the mtd related packages.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-12-12 13:25:41 UTC
please migrate to using mtd-utils (it should be cross-safe already).
I hope to drop the old mtd by the end of January, as upstream has moved development to mtd-utils instead.