summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-02-22 04:03:33 +0000
committerimp <imp@FreeBSD.org>2011-02-22 04:03:33 +0000
commitb52bdf56d488423c8356201e5c37e794002db13d (patch)
tree8b3fec9ba02267a0b773c273ed9699275c53861f /share/mk
parenta186021311f64b0401dcfe1485d103a556f01655 (diff)
downloadFreeBSD-src-b52bdf56d488423c8356201e5c37e794002db13d.zip
FreeBSD-src-b52bdf56d488423c8356201e5c37e794002db13d.tar.gz
Testing based on MACHINE_ARCH is problematic. Default to yes to build
clang. A separate change will fix buildworld to default to yes or no based on the target.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk15
1 files changed, 1 insertions, 14 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 2c6d689..c23a004 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -282,18 +282,6 @@ WITH_IDEA=
.endif
#
-# Default behaviour of MK_CLANG depends on the architecture.
-#
-.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "powerpc"
-_clang_yes=CLANG
-_clang_no=
-.else
-_clang_yes=
-_clang_no=CLANG
-.endif
-
-#
# MK_* options which default to "yes".
#
.for var in \
@@ -320,7 +308,7 @@ _clang_no=CLANG
BZIP2 \
CALENDAR \
CDDL \
- ${_clang_yes} \
+ CLANG \
CPP \
CRYPT \
CTM \
@@ -424,7 +412,6 @@ MK_${var}:= yes
BIND_SIGCHASE \
BIND_XML \
BSD_GREP \
- ${_clang_no} \
GPIO \
HESIOD \
IDEA
OpenPOWER on IntegriCloud