After r234596, temporarily disable building clang on 32-bit PowerPC,

until we are able to fix the binutils bug that makes linking clang fail
with "relocation truncated to fit: R_PPC_REL24" errors.  This should fix
the tinderboxes for now.
This commit is contained in:
Dimitry Andric 2012-04-24 17:00:30 +00:00
parent 4573cfdb11
commit bf270f7c46
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234656

View File

@ -441,7 +441,8 @@ __T=${TARGET_ARCH}
__T=${MACHINE_ARCH}
.endif
# Clang is only for x86 and powerpc right now, by default.
.if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*}
# XXX: Temporarily disabled for 32-bit powerpc, due to a binutils bug.
.if ${__T} == "amd64" || ${__T} == "i386" || ${__T} == "powerpc64"
__DEFAULT_YES_OPTIONS+=CLANG
.else
__DEFAULT_NO_OPTIONS+=CLANG