https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is --with-build-sysroot option explicitly for that case.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 16 Jan 2022 17:20:54 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is --with-build-sysroot option explicitly for that case.