diff --git a/Makefile.inc1 b/Makefile.inc1 index fdad7f754977..c37c8394dbd2 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2274,6 +2274,8 @@ native-xtools: .PHONY # needed build tools are built. ${_+_}cd ${.CURDIR}; ${NXBTMAKE} _includes MK_CLANG=no MK_GCC=no ${_+_}cd ${.CURDIR}; ${NXBTMAKE} _libraries MK_CLANG=no MK_GCC=no + # Clean out improper TARGET=MACHINE files + ${_+_}cd ${.CURDIR}/gnu/usr.bin/cc/cc_tools; ${NXBTMAKE} cleandir .if !defined(NO_OBJWALK) ${_+_}cd ${.CURDIR}; ${NXBMAKE} _obj .endif