Enable RTTI to allow ports such as `graphics/openshadinglanguage' and

`graphics/appleseed' to link with LLVM.

Requested by:	danfe
This commit is contained in:
Brooks Davis 2017-11-28 17:13:38 +00:00
parent e4f1987904
commit 11c7d9c1ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455066

View file

@ -2,7 +2,7 @@
PORTNAME= llvm
DISTVERSION= 5.0.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= devel lang
MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR}
PKGNAMESUFFIX= ${LLVM_SUFFIX}
@ -40,6 +40,7 @@ SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"
CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX}
CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON
CMAKE_ARGS+= -DLLVM_ENABLE_RTTI=ON
CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET}
CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET}
# Following commit https://github.com/kitware/cmake/commit/956054