This is an auto-filed bug because net-dialup/openl2tp calls cc directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 641330 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Andrew Savchenko <firstname.lastname@example.org>
AuthorDate: 2020-07-11 07:52:08 +0000
Commit: Andrew Savchenko <email@example.com>
CommitDate: 2020-07-11 07:55:45 +0000
net-dialup/openl2tp: use native tc variables
If native toolchain variables are provided (e.g. CC), use them.
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andrew Savchenko <firstname.lastname@example.org>
.../openl2tp/files/openl2tp-1.8-native-tc.patch | 23 ++++++++++++++++++++++
net-dialup/openl2tp/openl2tp-1.8-r1.ebuild | 1 +
2 files changed, 24 insertions(+)