svn commit: r491604 - head/devel/ccls
Tobias Kortkamp
tobik at FreeBSD.org
Wed Jan 30 05:39:49 UTC 2019
Author: tobik
Date: Wed Jan 30 05:39:47 2019
New Revision: 491604
URL: https://svnweb.freebsd.org/changeset/ports/491604
Log:
devel/ccls: Build with LLVM_ENABLE_RTTI
Same as the devel/llvm* ports. Otherwise ccls is compiled with
-fno-rtti but LLVM is not which can lead to crashes [1]. Make sure
assertions are disabled too while here.
[1] https://github.com/MaskRay/ccls/issues/30
Modified:
head/devel/ccls/Makefile
Modified: head/devel/ccls/Makefile
==============================================================================
--- head/devel/ccls/Makefile Wed Jan 30 05:28:56 2019 (r491603)
+++ head/devel/ccls/Makefile Wed Jan 30 05:39:47 2019 (r491604)
@@ -2,6 +2,7 @@
PORTNAME= ccls
DISTVERSION= 0.20181225.8
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= tobik at FreeBSD.org
@@ -21,7 +22,8 @@ GH_ACCOUNT= MaskRay
#GH_TAGNAME= d275ed570d7ea26dd8d762b8d82bc4e295971154
CMAKE_ARGS= -DCLANG_ROOT:String="${LOCALBASE}/llvm${LLVM_DEFAULT}"
-CMAKE_ON= SYSTEM_CLANG USE_SHARED_LLVM
+CMAKE_ON= LLVM_ENABLE_RTTI SYSTEM_CLANG USE_SHARED_LLVM
+CXXFLAGS+= -DNDEBUG
PLIST_FILES= bin/ccls
More information about the svn-ports-head
mailing list