Issue: games-strategy/xbattleai calls cc directly.
Discovered on: amd64
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Created attachment 647728 [details]
build log and emerge --info
Created attachment 647730 [details]
The bug has been closed via the following commit(s):
Author: Sam James <firstname.lastname@example.org>
AuthorDate: 2021-04-12 15:36:51 +0000
Commit: Sam James <email@example.com>
CommitDate: 2021-04-12 15:48:34 +0000
games-strategy/xbattleai: update EAPI 6 -> 7, fix build, respect CC
Previous configure results were cached, causing misdetection of nsl. This
also added to problems with respecting CC.
Signed-off-by: Sam James <firstname.lastname@example.org>
games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild | 25 ++++++++++++++++------
1 file changed, 18 insertions(+), 7 deletions(-)