Date: Fri, 27 Dec 2019 15:47:32 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356124 - head/share/mk Message-ID: <201912271547.xBRFlWSm069765@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Fri Dec 27 15:47:32 2019 New Revision: 356124 URL: https://svnweb.freebsd.org/changeset/base/356124 Log: src.opts.mk: switch LLVM toolchain to opt-out After PowerPC switched in r356111, the list of targets using LLVM as the default toolchain is much longer than those not using it. Switch the sense of the test to exclude those not using LLVM. Targets not using LLVM is currently mips, riscv5, and sparc64; work is in progress to migrate the first two to LLVM. Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.mk ============================================================================== --- head/share/mk/src.opts.mk Fri Dec 27 15:33:43 2019 (r356123) +++ head/share/mk/src.opts.mk Fri Dec 27 15:47:32 2019 (r356124) @@ -304,9 +304,8 @@ __DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF # This means that architectures that have GCC 4.2 as default can not # build Clang without using an external compiler. -.if ${COMPILER_FEATURES:Mc++11} && (${__T} == "aarch64" || \ - ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386" || \ - ${__TT} == "powerpc") +.if ${COMPILER_FEATURES:Mc++11} && (${__TT} != "mips" && \ + ${__TT} != "riscv" && ${__TT} != "sparc64") # Clang is enabled, and will be installed as the default /usr/bin/cc. __DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_CC LLD __DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912271547.xBRFlWSm069765>