This will fail bad with sandbox. --- gcc/Makefile.in +++ gcc/Makefile.in @@ -2179,13 +2179,6 @@ # exists. # We deliberately use tooldir instead of gcc_tooldir here. gcc_tooldir # won't work because libsubdir doesn't exist yet. - if [ "$(SYSTEM_HEADER_DIR)" = "$(tooldir)/sys-include" ] \ - && [ -d $(tooldir)/sys-include ]; then \ - if [ -d $(libdir) ] ; then true ; else mkdir $(libdir) ; fi; \ - if [ -d $(libdir)/gcc-lib ] ; then true ; else mkdir $(libdir)/gcc-lib; fi; \ - if [ -d $(libdir)/gcc-lib/$(target_alias) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target_alias) ; fi; \ - if [ -d $(libdir)/gcc-lib/$(target_alias)/$(version) ] ; then true ; else mkdir $(libdir)/gcc-lib/$(target_alias)/$(version) ; fi; \ - else true; fi touch stmp-fixinc