mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
Now that llvm 3.7 is gone, use llvm40 if the clang compiler is lower than 3.7
mongodb requires clang >= 3.7 to build if the compiler is clang Reported by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
This commit is contained in:
parent
d56203018b
commit
03623c96dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437441
@ -57,10 +57,10 @@ TEST_TARGET= unittests
|
||||
# - https://jira.mongodb.org/browse/SERVER-21217
|
||||
# - https://jira.mongodb.org/browse/SERVER-22740
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:lang/clang37
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp37
|
||||
CC= ${LOCALBASE}/bin/clang37
|
||||
CXX= ${LOCALBASE}/bin/clang++37
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang40:devel/llvm40
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp40
|
||||
CC= ${LOCALBASE}/bin/clang40
|
||||
CXX= ${LOCALBASE}/bin/clang++40
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user