svn commit: r243322 - head

Marcel Moolenaar marcel at FreeBSD.org
Tue Nov 20 03:21:26 UTC 2012


Author: marcel
Date: Tue Nov 20 03:21:26 2012
New Revision: 243322
URL: http://svnweb.freebsd.org/changeset/base/243322

Log:
  Unbreak amd64 cross-build where amd64 is the target. While clang
  may be installed as cc and we don't need to build gcc as a
  cross-tools, we still build gcc and thus need cc_tools built
  as a build tool. Not doing this results in building gengenrtl with
  the target compiler while we need to run it on the build machine.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Nov 20 02:12:01 2012	(r243321)
+++ head/Makefile.inc1	Tue Nov 20 03:21:26 2012	(r243322)
@@ -1138,7 +1138,7 @@ _aicasm= sys/modules/aic7xxx/aicasm
 _share=	share/syscons/scrnmaps
 .endif
 
-.if ${MK_GCC} != "no" && (${MK_CLANG_IS_CC} == "no" || ${TARGET} == "pc98")
+.if ${MK_GCC} != "no"
 _gcc_tools= gnu/usr.bin/cc/cc_tools
 .endif
 


More information about the svn-src-all mailing list