src.opts.mk: switch LLVM_LIBUNWIND to opt-out

PowerPC switched to LLVM_LIBUNWIND along with the switch to Clang/LLVM
in r356111.  This leaves only 32-bit Arm and sparc64 not using LLVM's
unwinder, so switch the sense to opt-out.

I elected to list the individual arm MACHINE_ARCHs so future changes
are more clear if LLVM_LIBUNWIND is enabled for one or two but not all
32-bit Arm targets (see PR 233664).
This commit is contained in:
Ed Maste 2019-12-27 16:28:43 +00:00
parent 897dc64400
commit d3a549991a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356125

View File

@ -327,8 +327,8 @@ BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB
.if ${__T:Mriscv*} != ""
BROKEN_OPTIONS+=OFED
.endif
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \
${__TT} == "powerpc" || ${__T:Mriscv*} != "" || ${__TT} == "mips"
.if ${__T} != "arm" && ${__T} != "armv6" && ${__T} != "armv7" && \
${__T} != "sparc64"
__DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
.else
__DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND