svn commit: r356320 - head/share/mk

Ed Maste emaste at FreeBSD.org
Fri Jan 3 16:28:12 UTC 2020


Author: emaste
Date: Fri Jan  3 16:28:10 2020
New Revision: 356320
URL: https://svnweb.freebsd.org/changeset/base/356320

Log:
  src.opts.mk: switch LLD_BOOTSTRAP and LLD_IS_LD to opt-out
  
  More MACHINE_CPUARCH/MACHINE_ARCH cases enable these options than
  disable them, and several of them have work in progress to switch over.
  Thus, invert the sense of the test and list cases not using LLD as the
  exceptions.

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Fri Jan  3 16:06:41 2020	(r356319)
+++ head/share/mk/src.opts.mk	Fri Jan  3 16:28:10 2020	(r356320)
@@ -329,8 +329,8 @@ __DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
 .else
 __DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
 .endif
-.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "armv6" || \
-    ${__T} == "armv7" || ${__T} == "i386" || ${__T} == "powerpc64"
+.if ${__TT} != "mips" && ${__T} != "powerpc" && ${__T} != "powerpcspe" && \
+    ${__TT} != "riscv" && ${__T} != "sparc64"
 __DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
 .else
 __DEFAULT_NO_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD


More information about the svn-src-all mailing list