svn commit: r356125 - head/share/mk
Ed Maste
emaste at FreeBSD.org
Fri Dec 27 16:28:44 UTC 2019
Author: emaste
Date: Fri Dec 27 16:28:43 2019
New Revision: 356125
URL: https://svnweb.freebsd.org/changeset/base/356125
Log:
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).
Modified:
head/share/mk/src.opts.mk
Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk Fri Dec 27 15:47:32 2019 (r356124)
+++ head/share/mk/src.opts.mk Fri Dec 27 16:28:43 2019 (r356125)
@@ -327,8 +327,8 @@ BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BO
.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
More information about the svn-src-head
mailing list