summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-02-22 04:49:57 +0000
committerimp <imp@FreeBSD.org>2011-02-22 04:49:57 +0000
commit8eb2cccfad35e8f1a2847cc044fd49971bb1577e (patch)
tree48ef899ddab43962fbed8b02e539e71f7d1f0544 /Makefile.inc1
parent2fb25180e9862bbf0d6bc91b09654b851324924d (diff)
downloadFreeBSD-src-8eb2cccfad35e8f1a2847cc044fd49971bb1577e.zip
FreeBSD-src-8eb2cccfad35e8f1a2847cc044fd49971bb1577e.tar.gz
Back out 218933 and 281934. The easy cases still worked, but some
hard cases broke in worse ways than the status quo. Back them out until that can be resolved.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc118
1 files changed, 2 insertions, 16 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ad46fbe..de00716 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -42,20 +42,6 @@ TARGET_ARCH=${TARGET}
.include <bsd.own.mk>
.include <bsd.arch.inc.mk>
-# Clang is a special case. We have to use it to bootstrap the target, not
-# where we're building from.
-.if ${TARGET_ARCH} == i386 || ${TARGET_ARCH} == amd64 || \
- ${TARGET_ARCH} == arm || ${TARGET_ARCH} == powerpc64 || \
- ${TARGET_ARCH} == powerpc
-.if !defined(WITHOUT_CLANG)
-MK_CLANG=yes
-.endif
-.else
-.if !defined(WITH_CLANG)
-MK_CLANG=no
-.endif
-.endif
-
# We must do share/info early so that installation of info `dir'
# entries works correctly. Do it first since it is less likely to
# grow dependencies on include and lib than vice versa.
@@ -984,11 +970,11 @@ _gensnmptree= usr.sbin/bsnmpd/gensnmptree
_crunchgen= usr.sbin/crunch/crunchgen
.endif
-.if ${MK_CLANG} != "no"
+# XXX: There is no way to specify bootstrap tools depending on MK-flags
+# with different per-architecture default values. Always build tblgen.
_clang_tblgen= \
lib/clang/libllvmsupport \
usr.bin/clang/tblgen
-.endif
.if ${MK_CDDL} != "no"
_dtrace_tools= cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \
OpenPOWER on IntegriCloud