diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-12-05 21:36:08 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-12-05 21:36:08 +0000 |
commit | 9b43e3da5ed329e330e0d99f3419785a593da394 (patch) | |
tree | a3a99c6b7f876daaab7e3086969786f815c19e37 /Makefile.inc1 | |
parent | 154733e844810249d16bf19e09fee16f5cb8bca0 (diff) | |
download | src-9b43e3da5ed329e330e0d99f3419785a593da394.tar.gz src-9b43e3da5ed329e330e0d99f3419785a593da394.zip |
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
Notes
Notes:
svn path=/head/; revision=326583
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index c37c8394dbd2..c3f7df6fd018 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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. |