Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 21:36:08 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326583 - head
Message-ID:  <201712052136.vB5La8T3023715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712052136.vB5La8T3023715>