Upstream don't care about this. I don't have expertise to submit a patch just yet. I've had a read through ebuild(5) and none of the RESTRICT values, nor QA_* variables seem to fit this case. So, what next?
Don't do that.
Upstream thinks this is not a problem in this case :-/
as portage says, this is something to take upstream. Thanks for reporting.