On 11/25/2015 03:22 PM, Ian Lance Taylor wrote:
PR 66147 points out that it doesn't work to build the gotools with a
cross-compiler. This patch improves matters. I added a new host
export to the top level Makefile. Build maintainers, does this change
seem OK?
Ian
./ChangeLog:
2015-11-25 Ian Lance Taylor <i...@google.com>
PR go/66147
* Makefile.tpl (HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET.
* Makefile.in: Regenerate.
gotools/ChangeLog:
2015-11-25 Ian Lance Taylor <i...@google.com>
PR go/66147
* Makefile.am (GOCOMPILER): In NATIVE case, add
$(XGCC_FLAGS_FOR_TARGET).
Given this only affects Go, it's fine by me. That's why I didn't look
at it earlier -- I missed the RFA tag.
Jeff