svn commit: r326583 - head
Bryan Drewery
bdrewery at FreeBSD.org
Tue Dec 5 21:36:09 UTC 2017
Author: bdrewery
Date: Tue Dec 5 21:36:08 2017
New Revision: 326583
URL: https://svnweb.freebsd.org/changeset/base/326583
Log:
native-xtools: Ensure GCC files are cleaned up.
Because we force enable MK_GCC when building we need to also force
enable it for the cleaning phase. Otherwise the NXB_TARGET files
are found in the next build's kernel-toolchain phase and cause
an error.
Reported by: sbruno
X-MFC-With: r325001
MFC after: 1 month
Sponsored by: Dell EMC
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Tue Dec 5 21:30:22 2017 (r326582)
+++ head/Makefile.inc1 Tue Dec 5 21:36:08 2017 (r326583)
@@ -2261,7 +2261,7 @@ NXBMAKE+= SUBDIR_OVERRIDE='$${NXBDIRS:M*}'
# even if the TARGET being built for wants GCC.
NXBMAKE+= WANT_COMPILER_TYPE='$${X_COMPILER_TYPE}'
native-xtools: .PHONY
- ${_+_}cd ${.CURDIR}; ${NXBTMAKE} _cleanobj
+ ${_+_}cd ${.CURDIR}; ${NXBTMAKE} _cleanobj MK_GCC=yes
# Build the bootstrap/host/cross tools that produce native binaries
# Pass along MK_GCC=yes to ensure GCC-needed build tools are built.
# We don't quite know what the NXB_TARGET wants so just build it.
More information about the svn-src-all
mailing list