https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112397
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html says that in target libraries target doesn't apply, so host_os it is then.