diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2017-07-01 19:10:59 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2017-07-01 19:10:59 +0000 |
| commit | 993d3ded79c964bf3d9e751fcd1938d3b9fa1785 (patch) | |
| tree | 2ac56a676c84fe926b3cae75420645cd41f11191 /share | |
| parent | 22ef11ee470b852ed5a451685d146728f56932c8 (diff) | |
Notes
Diffstat (limited to 'share')
| -rw-r--r-- | share/mk/src.opts.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 01fa32159c9b..1d7824f3081e 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -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. |
