aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm-devel/Makefile
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2017-11-30 20:55:53 +0000
committerBrooks Davis <brooks@FreeBSD.org>2017-11-30 20:55:53 +0000
commita54460ddd8c879b06b0af16fc06e36ff095e01b3 (patch)
tree6c0b7066e7c37f976bbafe7c73840c2253806aec /devel/llvm-devel/Makefile
parent74979a9660bdfe055c5c96152b63a7a64b73776f (diff)
downloadports-a54460ddd8c879b06b0af16fc06e36ff095e01b3.tar.gz
ports-a54460ddd8c879b06b0af16fc06e36ff095e01b3.zip
Notes
Diffstat (limited to 'devel/llvm-devel/Makefile')
-rw-r--r--devel/llvm-devel/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index fba80cab64ac..c10e75755c82 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -34,6 +34,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
@@ -241,7 +242,8 @@ LIT_COMMANDS= lit llvm-lit FileCheck
.if ${PORT_OPTIONS:MLLD}
COMMANDS+= ld.lld \
- ld64.lld
+ ld64.lld \
+ wasm-ld
.endif
.if ${PORT_OPTIONS:MLLDB}
@@ -469,7 +471,7 @@ build-plist:
if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /omp.h|${EXTRAS_PATTERN}|libclang_rt/) {printf "%%%%CLANG%%%%"} \
if ($$0 ~ /${COMPILER_RT_PATTERN}/) \
{printf "%%%%COMPILER_RT%%%%"} \
- if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \
+ if ($$0 ~ /lld|wasm-ld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \
if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \
if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \
if ($$0 ~ /(lib[ig]*omp|omp.h)/) {printf "%%%%OPENMP%%%%"} \