diff options
author | marcel <marcel@FreeBSD.org> | 2012-11-20 03:21:26 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-11-20 03:21:26 +0000 |
commit | 02a19a0c26b562fa337d7d0e78284a9d4276752e (patch) | |
tree | f8f0c42fefc4bf59b39d102ed86fde9246727fba /Makefile.inc1 | |
parent | d5971a0e55db3cf6c2780ad04185729fe6eadcbb (diff) | |
download | FreeBSD-src-02a19a0c26b562fa337d7d0e78284a9d4276752e.zip FreeBSD-src-02a19a0c26b562fa337d7d0e78284a9d4276752e.tar.gz |
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.
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 4273ecb..2562cd9 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 |