Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 04:03:33 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218933 - head/share/mk
Message-ID:  <201102220403.p1M43X1k093236@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Feb 22 04:03:33 2011
New Revision: 218933
URL: http://svn.freebsd.org/changeset/base/218933

Log:
  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.

Modified:
  head/share/mk/bsd.own.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Tue Feb 22 00:37:53 2011	(r218932)
+++ head/share/mk/bsd.own.mk	Tue Feb 22 04:03:33 2011	(r218933)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102220403.p1M43X1k093236>