From cff4243d09fa69e2a428cd421eda5889f7c2ffda Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 20 Nov 2012 03:21:26 +0000 Subject: [PATCH] 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. --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 4273ecb0a6b..2562cd9ecff 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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