https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's possible the paths passed to -isystem should be prefixed with = when a sysroot is in use, but prefixing them with $DESTDIR is definitely wrong.