All supported versions of FreeBSD that install clang have version 6.0.0 or
newer With hat: portmgr
This commit is contained in:
parent
4e38bbfa7d
commit
b76bece251
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488201
1 changed files with 4 additions and 4 deletions
|
@ -176,8 +176,8 @@ CHOSEN_COMPILER_TYPE= gcc
|
|||
.if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2
|
||||
USE_GCC= yes
|
||||
CHOSEN_COMPILER_TYPE= gcc
|
||||
.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 50) || ${COMPILER_TYPE} == gcc
|
||||
.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 50
|
||||
.elif ${COMPILER_TYPE} == gcc
|
||||
.if ${ALT_COMPILER_TYPE} == clang
|
||||
CPP= clang-cpp
|
||||
CC= clang
|
||||
CXX= clang++
|
||||
|
@ -198,8 +198,8 @@ CHOSEN_COMPILER_TYPE= clang
|
|||
.if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2
|
||||
USE_GCC= yes
|
||||
CHOSEN_COMPILER_TYPE= gcc
|
||||
.elif (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 35) || ${COMPILER_TYPE} == gcc
|
||||
.if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= 35
|
||||
.elif ${COMPILER_TYPE} == gcc
|
||||
.if ${ALT_COMPILER_TYPE} == clang
|
||||
CPP= clang-cpp
|
||||
CC= clang
|
||||
CXX= clang++
|
||||
|
|
Loading…
Reference in a new issue