diff options
author | andrew <andrew@FreeBSD.org> | 2013-02-05 05:16:02 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-02-05 05:16:02 +0000 |
commit | dd9a9322547ab032c9e7a3fe43e96964a0ae22b6 (patch) | |
tree | 3cb65fcbb23252a9ad8fe9061f4c6700ec636603 /share/mk | |
parent | cb0688f6b3e190f7e08ad7051a30e91e4e6471bd (diff) | |
download | FreeBSD-src-dd9a9322547ab032c9e7a3fe43e96964a0ae22b6.zip FreeBSD-src-dd9a9322547ab032c9e7a3fe43e96964a0ae22b6.tar.gz |
Build clang for little-endian arm by default. Due to size issues when built
with gcc disable CLANG_FULL for now.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.own.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index aea33d3..d500586 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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 |