devel/oclgrind: always compile with CXX/CC from LLVM_DEFAULT
This will fix issues when switching LLVM_DEFAULT to 9.0 on releases with older base compilers. PR: 239682
This commit is contained in:
parent
d684e2dd5a
commit
8a86845c94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511525
@ -4,6 +4,7 @@
|
||||
PORTNAME= oclgrind
|
||||
PORTVERSION= 20190907
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= jmd@FreeBSD.org
|
||||
@ -24,6 +25,10 @@ GH_PROJECT= Oclgrind
|
||||
GH_TAGNAME= e7c87b0
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CC= clang${LLVM_DEFAULT}
|
||||
CXX= clang++${LLVM_DEFAULT}
|
||||
CPP= clang-cpp${LLVM_DEFAULT}
|
||||
|
||||
CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user