All supported versions of FreeBSD that install clang have version 6.0.0 or

newer

With hat:	portmgr
This commit is contained in:
Antoine Brodin 2018-12-23 12:01:32 +00:00
parent 4e38bbfa7d
commit b76bece251
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488201

View file

@ -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++