Changeset View
Changeset View
Standalone View
Standalone View
head/share/mk/src.opts.mk
Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Lines | |||||
__DEFAULT_DEPENDENT_OPTIONS+= LLVM_TARGET_ARM/LLVM_TARGET_AARCH64 | __DEFAULT_DEPENDENT_OPTIONS+= LLVM_TARGET_ARM/LLVM_TARGET_AARCH64 | ||||
# Default the rest of the LLVM_TARGETs to the value of MK_LLVM_TARGET_ALL | # Default the rest of the LLVM_TARGETs to the value of MK_LLVM_TARGET_ALL | ||||
# which is based on MK_CLANG. | # which is based on MK_CLANG. | ||||
.else | .else | ||||
__DEFAULT_DEPENDENT_OPTIONS+= LLVM_TARGET_${__llt:${__LLVM_TARGET_FILT}:tu}/LLVM_TARGET_ALL | __DEFAULT_DEPENDENT_OPTIONS+= LLVM_TARGET_${__llt:${__LLVM_TARGET_FILT}:tu}/LLVM_TARGET_ALL | ||||
.endif | .endif | ||||
.endfor | .endfor | ||||
__DEFAULT_NO_OPTIONS+=LLVM_TARGET_BPF | |||||
.include <bsd.compiler.mk> | .include <bsd.compiler.mk> | ||||
# If the compiler is not C++11 capable, disable Clang and use GCC instead. | # If the compiler is not C++11 capable, disable Clang and use GCC instead. | ||||
# This means that architectures that have GCC 4.2 as default can not | # This means that architectures that have GCC 4.2 as default can not | ||||
# build Clang without using an external compiler. | # build Clang without using an external compiler. | ||||
.if ${COMPILER_FEATURES:Mc++11} && (${__T} == "aarch64" || \ | .if ${COMPILER_FEATURES:Mc++11} && (${__T} == "aarch64" || \ | ||||
${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") | ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") | ||||
# Clang is enabled, and will be installed as the default /usr/bin/cc. | # Clang is enabled, and will be installed as the default /usr/bin/cc. | ||||
▲ Show 20 Lines • Show All 266 Lines • Show Last 20 Lines |