Michael Marineau dfdcb705b8 profiles: set explicit ~arch keywords for gcc 4.9 cross compilers
crossdev creates configs under `/etc/portage/package.keywords` like the following:

  cross-aarch64-cros-linux-gnu/binutils arm64 -amd64 -~amd64
  cross-aarch64-cros-linux-gnu/gcc arm64 -amd64 -~amd64
  cross-aarch64-cros-linux-gnu/linux-headers arm64 -amd64 -~amd64
  cross-aarch64-cros-linux-gnu/glibc arm64 -amd64 -~amd64
  cross-aarch64-cros-linux-gnu/gdb arm64 -amd64 -~amd64

This ensures cross compilers follow the keywords of the target arch
rather than the host arch. Meanwhile in the profile when we omit the
keyword `package.accept_keywords` only ~arch for the host is implied. So
either we would need to configure crossdev to allow ~arch or we just
need to be explicit in the profile. The later is a bit easer.
2015-09-07 19:07:33 +00:00
..