diff options
| author | Michael Marineau <mike@marineau.org> | 2015-08-19 16:51:07 -0700 |
|---|---|---|
| committer | William Hubbs <williamh@gentoo.org> | 2015-08-20 19:33:30 -0500 |
| commit | 0f4f3b8d200e15982e5e75f52f3c472d152cc4c9 (patch) | |
| tree | 1443593e1b2c943773e33c2750d3b97e6ef150bf /dev-python/bpython | |
| parent | 4febb67acf8b2fd44ab09573ade7184c5c3a1187 (diff) | |
| download | gentoo-0f4f3b8d200e15982e5e75f52f3c472d152cc4c9.tar.gz gentoo-0f4f3b8d200e15982e5e75f52f3c472d152cc4c9.tar.bz2 gentoo-0f4f3b8d200e15982e5e75f52f3c472d152cc4c9.zip | |
dev-lang/go: add support for cross-compiling
There are a few quirks with Go to deal with when cross-compiling:
- Since DEPEND cannot distinguish cross-architecture dependencies the
current ebuild cannot keyword all architectures it supports. This
could be resolved in the future with a special use flag or other
clever trick to drop go-bootstrap from DEPEND for cross builds.
- GOHOST* and CC variables are CBUILD values.
- GO* and *_FOR_TARGET variables are CHOST values.
- Go can always be used as a cross-compiler so handling the
CHOST!=CTARGET case isn't strictly required. We could provide a
pre-built copy of the std library for CTARGET's architecture but I'm
not sure if that would be useful or not. For now the ebuild just
doesn't allow that case.
- Note from WilliamH: I made some small style changes to this commit.
This is for bug #558216.
Diffstat (limited to 'dev-python/bpython')
0 files changed, 0 insertions, 0 deletions
