mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Do not build clang for all riscv*, not just riscv64
Previous test matching on "riscv64" was invalidated by the addition of riscv64sf. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
22ef11ee47
commit
993d3ded79
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ __TT=${MACHINE}
|
|||
# Clang is enabled, and will be installed as the default /usr/bin/cc.
|
||||
__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC LLD
|
||||
__DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
|
||||
.elif ${COMPILER_FEATURES:Mc++11} && ${__T} != "riscv64" && ${__T} != "sparc64"
|
||||
.elif ${COMPILER_FEATURES:Mc++11} && ${__T:Mriscv*} == "" && ${__T} != "sparc64"
|
||||
# If an external compiler that supports C++11 is used as ${CC} and Clang
|
||||
# supports the target, then Clang is enabled but GCC is installed as the
|
||||
# default /usr/bin/cc.
|
||||
|
|
|
|||
Loading…
Reference in a new issue