Date: Tue, 5 Feb 2013 05:16:02 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246354 - head/share/mk Message-ID: <201302050516.r155G2Vi037799@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Feb 5 05:16:02 2013 New Revision: 246354 URL: http://svnweb.freebsd.org/changeset/base/246354 Log: Build clang for little-endian arm by default. Due to size issues when built with gcc disable CLANG_FULL for now. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ============================================================================== --- head/share/mk/bsd.own.mk Tue Feb 5 04:13:34 2013 (r246353) +++ head/share/mk/bsd.own.mk Tue Feb 5 05:16:02 2013 (r246354) @@ -389,9 +389,13 @@ __T=${TARGET_ARCH} .else __T=${MACHINE_ARCH} .endif -# Clang is only for x86 and powerpc right now, by default. +# Clang is only for x86, powerpc and little-endian arm right now, by default. .if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*} __DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL +.elif ${__T} == "arm" || ${__T} == "armv6" +__DEFAULT_YES_OPTIONS+=CLANG +# GCC is unable to build the full clang on arm, disable it by default. +__DEFAULT_NO_OPTIONS+=CLANG_FULL .else __DEFAULT_NO_OPTIONS+=CLANG CLANG_FULL .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302050516.r155G2Vi037799>