This is an auto-filed bug because sci-biology/wgs-assembler calls g++ 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 CXX implementation (like clang++) by setting the CXX variable. So this issue has been reproduced by setting the CXX variable to x86_64-pc-linux-gnu-g++ and by removing the /usr/bin/g++ - /usr/bin/c++ binaries.
Created attachment 641722 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: David Seifert <email@example.com>
AuthorDate: 2020-06-21 17:41:01 +0000
Commit: David Seifert <firstname.lastname@example.org>
CommitDate: 2020-06-21 17:41:01 +0000
sci-biology/wgs-assembler: [QA] Pass CC/CXX to build system
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: David Seifert <email@example.com>
.../files/wgs-assembler-7.0-build.patch | 108 +++++++++++++--------
.../wgs-assembler/wgs-assembler-7.0-r2.ebuild | 22 ++---
2 files changed, 76 insertions(+), 54 deletions(-)