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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to