svn commit: r284274 - head/share/mk

Andrew Turner andrew at FreeBSD.org
Thu Jun 11 16:49:15 UTC 2015


Author: andrew
Date: Thu Jun 11 16:49:14 2015
New Revision: 284274
URL: https://svnweb.freebsd.org/changeset/base/284274

Log:
  Enable clang on armeb, it is now able to build targeting armeb. This is
  the last arm platform to move away from gcc.
  
  Tested by:	jmg

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Thu Jun 11 15:45:33 2015	(r284273)
+++ head/share/mk/src.opts.mk	Thu Jun 11 16:49:14 2015	(r284274)
@@ -219,9 +219,9 @@ __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTST
 # On x86 and arm64, clang is enabled, and will be installed as the default cc.
 __DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC
 __DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX
-.elif ${__TT} == "arm" && ${__T:Marm*eb*} == ""
-# On little-endian arm, clang is enabled, and it is installed as the default
-# cc, but since gcc is unable to build the full clang, disable it by default.
+.elif ${__TT} == "arm"
+# On arm, clang is enabled, and it is installed as the default cc, but
+# since gcc is unable to build the full clang, disable it by default.
 __DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_CC
 __DEFAULT_NO_OPTIONS+=CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX
 .elif ${__T:Mpowerpc*}


More information about the svn-src-all mailing list