Changeset View
Changeset View
Standalone View
Standalone View
share/mk/src.opts.mk
| Show First 20 Lines • Show All 354 Lines • ▼ Show 20 Lines | |||||
| .if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \ | .if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \ | ||||
| ${__T:Mpowerpc64*} != "" || ${__T:Mriscv64*} != "" | ${__T:Mpowerpc64*} != "" || ${__T:Mriscv64*} != "" | ||||
| __DEFAULT_YES_OPTIONS+=OPENMP | __DEFAULT_YES_OPTIONS+=OPENMP | ||||
| .else | .else | ||||
| __DEFAULT_NO_OPTIONS+=OPENMP | __DEFAULT_NO_OPTIONS+=OPENMP | ||||
| .endif | .endif | ||||
| .if ${.MAKE.OS} != "FreeBSD" | |||||
| # Building the target compiler requires building tablegen on the host | |||||
| # which is (currently) not possible on non-FreeBSD. | |||||
| BROKEN_OPTIONS+=CLANG LLD LLDB | |||||
| # The same also applies to the bootstrap LLVM. | |||||
| BROKEN_OPTIONS+=CLANG_BOOTSTRAP LLD_BOOTSTRAP | |||||
| .endif | |||||
| .include <bsd.mkopt.mk> | .include <bsd.mkopt.mk> | ||||
| # | # | ||||
| # Force some options off if their dependencies are off. | # Force some options off if their dependencies are off. | ||||
| # Order is somewhat important. | # Order is somewhat important. | ||||
| # | # | ||||
| .if ${MK_CAPSICUM} == "no" | .if ${MK_CAPSICUM} == "no" | ||||
| MK_CASPER:= no | MK_CASPER:= no | ||||
| ▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines | |||||