mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 22:02:43 +00:00
Build clang for little-endian arm by default. Due to size issues when built
with gcc disable CLANG_FULL for now.
This commit is contained in:
parent
3c9606d74e
commit
62cd261e07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246354
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user